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 7 8.globl _foo, _start 9 10_foo: 11 ret 12 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 20