1 ; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s
4 define i32 @f1(i32 %a) {
9 ; CHECK: orr r0, r0, #187
11 ; 0x00aa00aa = 11141290
12 define i32 @f2(i32 %a) {
13 %tmp2 = or i32 %a, 11141290
17 ; CHECK: orr r0, r0, #11141290
19 ; 0xcc00cc00 = 3422604288
20 define i32 @f3(i32 %a) {
21 %tmp2 = or i32 %a, 3422604288
25 ; CHECK: orr r0, r0, #-872363008
27 ; 0x44444444 = 1145324612
28 define i32 @f4(i32 %a) {
29 %tmp2 = or i32 %a, 1145324612
33 ; CHECK: orr r0, r0, #1145324612
35 ; 0x00110000 = 1114112
36 define i32 @f5(i32 %a) {
37 %tmp2 = or i32 %a, 1114112
41 ; CHECK: orr r0, r0, #1114112