• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Check handling of the constraint `c`.
2; RUN: llc -march=mips -target-abi o32 < %s | FileCheck %s
3
4define i32 @main() #0 {
5entry:
6  %jmp = alloca i32, align 4
7  store i32 0, i32* %jmp, align 4
8  %0 = load i32, i32* %jmp, align 4
9  call void asm sideeffect "jr $0", "c,~{$1}"(i32 %0) #1
10
11; CHECK: addiu   $25, $zero, 0
12; CHECK: jr      $25
13
14  ret i32 0
15}
16
17attributes #0 = { noinline nounwind }
18attributes #1 = { nounwind }
19