aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb/inlineasm-thumb.ll
blob: f2683c8dd8cc0019e27afc70e3f49075f3ab6bc7 (plain)
1
2
3
4
5
6
7
; RUN: llc < %s -march=thumb | FileCheck %s
define i32 @t1(i32 %x, i32 %y) nounwind {
entry:
  ; CHECK: mov r0, r12
  %0 = tail call i32 asm "mov $0, $1", "=l,h"(i32 %y) nounwind
  ret i32 %0
}