1 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
3 ; -0x000000bb = 4294967109
4 define i1 @f1(i32 %a) {
6 ; CHECK: cmn.w {{r.*}}, #187
7 %tmp = icmp ne i32 %a, 4294967109
11 ; -0x00aa00aa = 4283826006
12 define i1 @f2(i32 %a) {
14 ; CHECK: cmn.w {{r.*}}, #11141290
15 %tmp = icmp eq i32 %a, 4283826006
19 ; -0xcc00cc00 = 872363008
20 define i1 @f3(i32 %a) {
22 ; CHECK: cmn.w {{r.*}}, #-872363008
23 %tmp = icmp ne i32 %a, 872363008
27 ; -0x00110000 = 4293853184
28 define i1 @f4(i32 %a) {
30 ; CHECK: cmn.w {{r.*}}, #1114112
31 %tmp = icmp eq i32 %a, 4293853184