1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep {orn\\W*r\[0-9\]*,\\W*r\[0-9\]*,\\W*#\[0-9\]*} |\
2 ; RUN: grep {#187\\|#11141290\\|#-872363008\\|#1114112} | count 4
5 define i32 @f1(i32 %a) {
6 %tmp1 = xor i32 4294967295, 187
7 %tmp2 = or i32 %a, %tmp1
11 ; 0x00aa00aa = 11141290
12 define i32 @f2(i32 %a) {
13 %tmp1 = xor i32 4294967295, 11141290
14 %tmp2 = or i32 %a, %tmp1
18 ; 0xcc00cc00 = 3422604288
19 define i32 @f3(i32 %a) {
20 %tmp1 = xor i32 4294967295, 3422604288
21 %tmp2 = or i32 %a, %tmp1
25 ; 0x00110000 = 1114112
26 define i32 @f5(i32 %a) {
27 %tmp1 = xor i32 4294967295, 1114112
28 %tmp2 = or i32 %a, %tmp1