mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-09 10:05:41 +00:00
73744df0c4
Part of rdar://9119939 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134203 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
194 B
LLVM
8 lines
194 B
LLVM
; 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
|
|
}
|