[llvm-commits] CVS: llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll

Chris Lattner lattner at cs.uiuc.edu
Mon Nov 29 22:39:59 PST 2004



Changes in directory llvm/test/Regression/CodeGen/PowerPC:

2004-11-30-shr-var-crash.ll added (r1.1)
---
Log message:

New testcase that crashes the PPC BE


---
Diffs of the changes:  (+7 -0)

Index: llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll
diff -c /dev/null llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll:1.1
*** /dev/null	Tue Nov 30 00:39:55 2004
--- llvm/test/Regression/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll	Tue Nov 30 00:39:45 2004
***************
*** 0 ****
--- 1,7 ----
+ ; RUN: llvm-as < %s | llc -march=ppc32
+ 
+ void %main() {
+ 	%shamt = add ubyte 0, 1		; <ubyte> [#uses=1]
+ 	%tr2 = shr long 1, ubyte %shamt		; <long> [#uses=0]
+ 	ret void
+ }






More information about the llvm-commits mailing list