[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/cast.ll
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 1 23:58:07 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
cast.ll updated: 1.15 -> 1.16
---
Log message:
Add test for instcombine transmogrifying allocation instructions
---
Diffs of the changes: (+6 -0)
Index: llvm/test/Regression/Transforms/InstCombine/cast.ll
diff -u llvm/test/Regression/Transforms/InstCombine/cast.ll:1.15 llvm/test/Regression/Transforms/InstCombine/cast.ll:1.16
--- llvm/test/Regression/Transforms/InstCombine/cast.ll:1.15 Tue Oct 7 17:53:46 2003
+++ llvm/test/Regression/Transforms/InstCombine/cast.ll Sat Nov 1 23:56:58 2003
@@ -73,3 +73,9 @@
call void(int, ...)* %varargs(int 5, short* %c)
ret void
}
+
+int* %test12() {
+ %p = malloc [4 x sbyte]
+ %c = cast [4 x sbyte]* %p to int*
+ ret int* %c
+}
More information about the llvm-commits
mailing list