[llvm-commits] CVS: llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll

Chris Lattner sabre at nondot.org
Sun Apr 8 01:02:56 PDT 2007



Changes in directory llvm/test/Transforms/InstCombine:

2007-03-19-BadTruncChangePR1261.ll updated: 1.2 -> 1.3
---
Log message:

this xform is correct, not an xfail


---
Diffs of the changes:  (+2 -5)

 2007-03-19-BadTruncChangePR1261.ll |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)


Index: llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll
diff -u llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll:1.2 llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll:1.3
--- llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll:1.2	Mon Mar 19 18:36:19 2007
+++ llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll	Sun Apr  8 03:02:39 2007
@@ -1,10 +1,7 @@
-; For PR1261. Before bit accurate type support in InstCombine, this would
-; turn the sext into a zext.
-; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep sext
-; XFAIL: *
+; RUN: llvm-as %s -o - | opt -instcombine | llvm-dis | grep zext
+; PR1261. 
 
 define i16 @test(i31 %zzz) {
-entry:
   %A = sext i31 %zzz to i32
   %B = add i32 %A, 16384
   %C = lshr i32 %B, 15






More information about the llvm-commits mailing list