summaryrefslogtreecommitdiff
path: root/test/CodeGen/Thumb2/thumb2-cmp.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-08 23:44:53 +0000
committerChris Lattner <sabre@nondot.org>2009-09-08 23:44:53 +0000
commit94d1077d9959961890d6ff60c5d6592f42c65dfb (patch)
tree2ce2d64f9597096ea593dcd0b3ce21a5a33a8600 /test/CodeGen/Thumb2/thumb2-cmp.ll
parentcada5c59370863762852a4356b0379a4dc4295ae (diff)
downloadllvm-94d1077d9959961890d6ff60c5d6592f42c65dfb.tar.gz
llvm-94d1077d9959961890d6ff60c5d6592f42c65dfb.tar.bz2
llvm-94d1077d9959961890d6ff60c5d6592f42c65dfb.tar.xz
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) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-cmp.ll')
-rw-r--r--test/CodeGen/Thumb2/thumb2-cmp.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-cmp.ll b/test/CodeGen/Thumb2/thumb2-cmp.ll
index 68f38773ab..2048258af3 100644
--- a/test/CodeGen/Thumb2/thumb2-cmp.ll
+++ b/test/CodeGen/Thumb2/thumb2-cmp.ll
@@ -19,7 +19,7 @@ define i1 @f2(i32 %a) {
; 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 @@ define i1 @f3(i32 %a) {
; 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
}