[llvm-commits] CVS: llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 13 13:06:04 PST 2003
Changes in directory llvm/test/Regression/Transforms/InstCombine:
2003-11-13-ConstExprCastCall.ll added (r1.1)
---
Log message:
Instcombine should promote this, and because it isn't, we are failing poolalloc tests
---
Diffs of the changes: (+9 -0)
Index: llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll
diff -c /dev/null llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll:1.1
*** /dev/null Thu Nov 13 13:05:28 2003
--- llvm/test/Regression/Transforms/InstCombine/2003-11-13-ConstExprCastCall.ll Thu Nov 13 13:05:15 2003
***************
*** 0 ****
--- 1,9 ----
+ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep call | not grep cast
+
+ declare void %free(sbyte*)
+
+ void %test(int* %X) {
+ call int (...)* cast (void (sbyte*)* %free to int (...)*)(int * %X)
+ ret void
+ }
+
More information about the llvm-commits
mailing list