1 ; RUN: llc -mtriple=thumb-eabi -mcpu=arm1156t2-s -mattr=+thumb2 %s -o - | FileCheck %s 2 3 ; -0x000000bb = 4294967109 4 define i1 @f1(i32 %a) { 5 ; CHECK-LABEL: f1: 6 ; CHECK: cmn.w {{r.*}}, #187 7 %tmp = icmp ne i32 %a, 4294967109 8 ret i1 %tmp 9 } 10 11 ; -0x00aa00aa = 4283826006 12 define i1 @f2(i32 %a) { 13 ; CHECK-LABEL: f2: 14 ; CHECK: cmn.w {{r.*}}, #11141290 15 %tmp = icmp eq i32 %a, 4283826006 16 ret i1 %tmp 17 } 18 19 ; -0xcc00cc00 = 872363008 20 define i1 @f3(i32 %a) { 21 ; CHECK-LABEL: f3: 22 ; CHECK: cmn.w {{r.*}}, #-872363008 23 %tmp = icmp ne i32 %a, 872363008 24 ret i1 %tmp 25 } 26 27 ; -0x00110000 = 4293853184 28 define i1 @f4(i32 %a) { 29 ; CHECK-LABEL: f4: 30 ; CHECK: cmn.w {{r.*}}, #1114112 31 %tmp = icmp eq i32 %a, 4293853184 32 ret i1 %tmp 33 } 34