[LV] Add test showing debug output for loops with uncountable BTCs.
[llvm-project.git] / bolt / test / AArch64 / fp-reg-spill.s
blob65523148edd3fc122f09b6fe24111dada322816c
1 # Check that we correctly handle arm64 fp register spills in
2 # bolt when we are processing jump tables.
3 # REQUIRES: system-linux
4 # RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
5 # RUN: ld.lld --emit-relocs %t.o -o %t.elf
6 # RUN: llvm-bolt --jump-tables=move %t.elf -o %t.bolt
8 .globl _foo, _start
10 _foo:
11 ret
13 _start:
14 adr x6, _foo
15 fmov d18,x6
16 fmov x5,d18
17 ldrb w5, [x5, w1, uxtw]
18 add x5, x6, w5, sxtb #2
19 br x5