xref: /llvm-project/llvm/test/CodeGen/ARM/imm.ll (revision 6e87ec4351149da232eff0814428f24ad723e6ac)
1; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | not grep CPI
2
3int %test1(int %A) {
4  %B = add int %A, -268435441  ; 0xF000000F
5  ret int %B
6}
7
8int %test2() {
9  ret int 65533
10}
11
12int %test3(int %A) {
13  %B = or int %A, 65533
14  ret int %B
15}
16
17
18