[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 4 15:20:59 PST 2005
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2005-03-04-ShiftOverflow.ll added (r1.1)
---
Log message:
Testcase for a bug that caused us to miscompile ptrdist/ks on sparc.
---
Diffs of the changes: (+7 -0)
2005-03-04-ShiftOverflow.ll | 7 +++++++
1 files changed, 7 insertions(+)
Index: llvm/test/Regression/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll:1.1
*** /dev/null Fri Mar 4 17:20:56 2005
--- llvm/test/Regression/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll Fri Mar 4 17:20:46 2005
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'ret bool false'
+ bool %test(ulong %tmp.169) {
+ %tmp.1710 = shr ulong %tmp.169, ubyte 1
+ %tmp.1912 = setgt ulong %tmp.1710, 0
+ ret bool %tmp.1912
+ }
+
More information about the llvm-commits
mailing list