mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-13 12:57:47 +00:00
039c43dccc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74298 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
205 B
LLVM
9 lines
205 B
LLVM
; RUN: llvm-as < %s | llc | grep {movw\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#65535} | count 1
|
|
|
|
target triple = "thumbv7-apple-darwin"
|
|
|
|
define i32 @f6(i32 %a) {
|
|
%tmp = add i32 0, 65535
|
|
ret i32 %tmp
|
|
}
|