mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-22 20:43:44 +02:00
23337e07ce
llvm-svn: 74306
9 lines
217 B
LLVM
9 lines
217 B
LLVM
; RUN: llvm-as < %s | llc | grep {addw\\W*r\[0-9\],\\W*r\[0-9\],\\W*#\[0-9\]*} | grep {#4095} | count 1
|
|
|
|
target triple = "thumbv7-apple-darwin"
|
|
|
|
define i32 @f1(i32 %a) {
|
|
%tmp = add i32 %a, 4095
|
|
ret i32 %tmp
|
|
}
|