1 ; RUN: llc -mtriple=aarch64-none-eabi -mattr=-fp-armv8 %s -o - | FileCheck %s -check-prefix=nofp
3 ; In the novfp case, the compiler is forced to assign a core register,
4 ; even if the input is a float.
7 ; nofp-CHECK: ldr x0, [sp]
9 ; This can be generated by a function such as:
10 ; void f1(float f) {asm volatile ("ldr $0, [sp]" : : "X" (f));}
12 define void @f1(float %f) {
14 call void asm sideeffect "ldr $0, [sp]", "X" (float %f) nounwind