[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll
Chris Lattner
lattner at cs.uiuc.edu
Mon Jul 19 22:20:49 PDT 2004
Changes in directory llvm/test/Regression/Transforms/InstCombine:
IntPtrCast.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+8 -0)
Index: llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll:1.1
*** /dev/null Tue Jul 20 00:20:49 2004
--- llvm/test/Regression/Transforms/InstCombine/IntPtrCast.ll Tue Jul 20 00:20:39 2004
***************
*** 0 ****
--- 1,8 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep cast
+ target pointersize = 32
+
+ int *%test(int *%P) {
+ %V = cast int* %P to int
+ %P2 = cast int %V to int*
+ ret int* %P2
+ }
More information about the llvm-commits
mailing list