[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Aug 12 16:34:14 PDT 2005
Changes in directory llvm/test/Regression/CodeGen/PowerPC:
2005-08-12-rlwimi-crash.ll added (r1.1)
---
Log message:
testcase that crashed the ppc backend, distilled from crafty
---
Diffs of the changes: (+12 -0)
2005-08-12-rlwimi-crash.ll | 12 ++++++++++++
1 files changed, 12 insertions(+)
Index: llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll:1.1
*** /dev/null Fri Aug 12 18:34:13 2005
--- llvm/test/Regression/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll Fri Aug 12 18:34:03 2005
***************
*** 0 ****
--- 1,12 ----
+ ; this should not crash the ppc backend
+
+ ; RUN: llvm-as < %s | llc -march=ppc32
+
+ uint %test( int %j.0.0.i) {
+ %tmp.85.i = and int %j.0.0.i, 7
+ %tmp.161278.i = cast int %tmp.85.i to uint
+ %tmp.5.i77.i = shr uint %tmp.161278.i, ubyte 3
+ ret uint %tmp.5.i77.i
+ }
+
+
More information about the llvm-commits
mailing list