[llvm-commits] CVS: llvm/test/Regression/Transforms/DeadArgElim/dead_vaargs.ll
Chris Lattner
sabre at nondot.org
Mon Sep 18 00:01:53 PDT 2006
Changes in directory llvm/test/Regression/Transforms/DeadArgElim:
dead_vaargs.ll added (r1.1)
---
Log message:
new testcase
---
Diffs of the changes: (+13 -0)
dead_vaargs.ll | 13 +++++++++++++
1 files changed, 13 insertions(+)
Index: llvm/test/Regression/Transforms/DeadArgElim/dead_vaargs.ll
diff -c /dev/null llvm/test/Regression/Transforms/DeadArgElim/dead_vaargs.ll:1.1
*** /dev/null Mon Sep 18 02:01:49 2006
--- llvm/test/Regression/Transforms/DeadArgElim/dead_vaargs.ll Mon Sep 18 02:01:39 2006
***************
*** 0 ****
--- 1,13 ----
+ ; RUN: llvm-as < %s | opt -deadargelim -disable-output &&
+ ; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 47 &&
+ ; RUN: llvm-as < %s | opt -deadargelim | llvm-dis | not grep 1.0
+
+ int %bar(int %A) {
+ %tmp4 = tail call int (int, ...)* %foo( int %A, int %A, int %A, int %A, ulong 47, double 1.000000e+00 )
+ ret int %tmp4
+ }
+
+ internal int %foo(int %X, ...) {
+ ret int %X
+ }
+
More information about the llvm-commits
mailing list