Home | History | Annotate | Download | only in Mips
      1 ; Check that invalid type for constraint `c` causes an error message.
      2 ; RUN: not llc -march=mips -target-abi o32 < %s 2>&1 | FileCheck %s
      3 
      4 define i32 @main() #0 {
      5 entry:
      6   %jmp = alloca float, align 4
      7   store float 0x4200000000000000, float* %jmp, align 4
      8   %0 = load float, float* %jmp, align 4
      9   call void asm sideeffect "jr $0", "c,~{$1}"(float %0) #1
     10 
     11 ; CHECK: error: couldn't allocate input reg for constraint 'c'
     12 
     13   ret i32 0
     14 }
     15 
     16 attributes #0 = { noinline nounwind }
     17 attributes #1 = { nounwind }
     18