brintos

brintos / llvm-project-archived public Read only

0
0
Text · 498 B · 43229d1 Raw
18 lines · plain
1; Check that invalid type for constraint `c` causes an error message.2; RUN: not llc -mtriple=mips -target-abi o32 < %s 2>&1 | FileCheck %s3 4define i32 @main() #0 {5entry:6  %jmp = alloca float, align 47  store float 0x4200000000000000, ptr %jmp, align 48  %0 = load float, ptr %jmp, align 49  call void asm sideeffect "jr $0", "c,~{$1}"(float %0) #110 11; CHECK: error: couldn't allocate input reg for constraint 'c'12 13  ret i32 014}15 16attributes #0 = { noinline nounwind }17attributes #1 = { nounwind }18