Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
llvm
/
17b4b172eb57c28f82a6ee3a982a7632f60e8967
/
.
/
test
/
CodeGen
/
ARM
/
imm.ll
blob: 6f25f9dcb323d622b34e7dcd26dbbbd6d8aabb1b [
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
}