brintos

brintos / llvm-project-archived public Read only

0
0
Text · 429 B · 6552314 Raw
20 lines · plain
1# Check that we correctly handle arm64 fp register spills in2# bolt when we are processing jump tables.3# REQUIRES: system-linux4# RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o5# RUN: ld.lld --emit-relocs %t.o -o %t.elf6# RUN: llvm-bolt --jump-tables=move %t.elf -o %t.bolt7 8.globl _foo, _start9 10_foo:11  ret12 13_start:14  adr x6, _foo15  fmov d18,x616  fmov x5,d1817  ldrb  w5, [x5, w1, uxtw]18  add x5, x6, w5, sxtb #219  br x520