summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
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
commit9ef94277f1d2b8d3a44a60130dc43dc34ffdaa44 (patch)
tree4933cb75fd2b5f8c11525c16a183d8eb25ca53a6 /llvm/test/CodeGen
parent6b3e7bd4eeec3e2c2e7843c21771bde25c1f11ae (diff)
downloadbcm5719-llvm-9ef94277f1d2b8d3a44a60130dc43dc34ffdaa44.tar.gz
bcm5719-llvm-9ef94277f1d2b8d3a44a60130dc43dc34ffdaa44.zip
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) llvm-svn: 81288
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/Thumb2/thumb2-cmp.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/Thumb2/thumb2-cmp.ll b/llvm/test/CodeGen/Thumb2/thumb2-cmp.ll
index 68f38773aba..2048258af38 100644
--- a/llvm/test/CodeGen/Thumb2/thumb2-cmp.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud