1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-29 23:12:55 +01:00
llvm-mirror/test/CodeGen/ARM/imm.ll

20 lines
343 B
LLVM
Raw Normal View History

; RUN: llc -mtriple=arm-eabi %s -o - | FileCheck %s
2008-02-17 21:02:20 +01:00
define i32 @test1(i32 %A) {
%B = add i32 %A, -268435441 ; <i32> [#uses=1]
ret i32 %B
}
2008-02-17 21:02:20 +01:00
define i32 @test2() {
ret i32 65533
}
2008-02-17 21:02:20 +01:00
define i32 @test3(i32 %A) {
%B = or i32 %A, 65533 ; <i32> [#uses=1]
ret i32 %B
}
; CHECK-NOT: CPI