I won't get a chance to fix this before the nightly testers start. Should I
x-fail this until it is handled?
Andrew
On 2/22/07, Andrew Lenharth <[EMAIL PROTECTED]> wrote:
Changes in directory llvm/test/Transforms/InstCombine:
cast_ptr.ll updated: 1.3 -> 1.4
---
Log message:
missed cast elimination
---
Diffs of the changes: (+7 -1)
cast_ptr.ll | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/test/Transforms/InstCombine/cast_ptr.ll
diff -u
llvm/test/Transforms/InstCombine/cast_ptr.ll:1.3llvm/test/Transforms/InstCombine/cast_ptr.ll:
1.4
--- llvm/test/Transforms/InstCombine/cast_ptr.ll:1.3 Fri Dec 1
22:23:09 2006
+++ llvm/test/Transforms/InstCombine/cast_ptr.ll Thu Feb 22
09:17:45 2007
@@ -1,6 +1,6 @@
; Tests to make sure elimination of casts is working correctly
; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output &&
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not
grep '\([sz]ext\)\|\(trunc\)'
+; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | not
grep '\([sz]ext\)\|\(trunc\)|\(ptrtoint\)'
target pointersize = 32
@@ -13,3 +13,9 @@
ret sbyte* %tv
}
+bool %test2(sbyte* %a, sbyte* %b) {
+%tmpa = cast sbyte* %a to uint
+%tmpb = cast sbyte* %b to uint
+%r = seteq uint %tmpa, %tmpb
+ret bool %r
+}
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits