[llvm-commits] [llvm] r81288 - /llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll
Chris Lattner
sabre at nondot.org
Tue Sep 8 16:44:53 PDT 2009
Author: lattner
Date: Tue Sep 8 18:44:53 2009
New Revision: 81288
URL: http://llvm.org/viewvc/llvm-project?rev=81288&view=rev
Log:
adjust for signedness change. I'd appreciate it if an ARM flavored person
could look at this: the top undefined bits of an immediate shouldn't affect
isel (cmp vs cmp.w)
Modified:
llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll
Modified: llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll?rev=81288&r1=81287&r2=81288&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll (original)
+++ llvm/trunk/test/CodeGen/Thumb2/thumb2-cmp.ll Tue Sep 8 18:44:53 2009
@@ -19,7 +19,7 @@
; 0xcc00cc00 = 3422604288
define i1 @f3(i32 %a) {
; CHECK: f3:
-; CHECK: cmp.w r0, #3422604288
+; CHECK: cmp r0, #-872363008
%tmp = icmp ne i32 %a, 3422604288
ret i1 %tmp
}
@@ -27,7 +27,7 @@
; 0xdddddddd = 3722304989
define i1 @f4(i32 %a) {
; CHECK: f4:
-; CHECK: cmp.w r0, #3722304989
+; CHECK: cmp r0, #-572662307
%tmp = icmp ne i32 %a, 3722304989
ret i1 %tmp
}
More information about the llvm-commits
mailing list