Sign in
swiftshader
/
SwiftShader
/
5fb5e817a20d3e60f29f7338493f922b5ac9d7c4
/
.
/
third_party
/
LLVM
/
test
/
CodeGen
/
ARM
/
imm.ll
blob: 5be7435e60c9aca450e28bd52e55fad429e89564 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=arm | not grep CPI
define
i32
@test1
(
i32
%A
)
{
%B
=
add
i32
%A
,
-
268435441
; <i32> [#uses=1]
ret
i32
%B
}
define
i32
@test2
()
{
ret
i32
65533
}
define
i32
@test3
(
i32
%A
)
{
%B
=
or
i32
%A
,
65533
; <i32> [#uses=1]
ret
i32
%B
}