[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll

Chris Lattner lattner at cs.uiuc.edu
Fri May 7 10:39:05 PDT 2004


Changes in directory llvm/test/Regression/Transforms/InstCombine:

2004-05-07-UnsizedCastLoad.ll added (r1.1)

---
Log message:

New testcase for PR336: http://llvm.cs.uiuc.edu/PR336 


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

Index: llvm/test/Regression/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll:1.1
*** /dev/null	Fri May  7 10:39:00 2004
--- llvm/test/Regression/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll	Fri May  7 10:38:50 2004
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine -disable-output
+ 
+ %Ty = type opaque
+ 
+ int %test(%Ty *%X) {
+ 	%Y = cast %Ty* %X to int*
+ 	%Z = load int* %Y
+ 	ret int %Z
+ }





More information about the llvm-commits mailing list