aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/IPConstantProp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-11-11 07:46:11 +0000
committerChris Lattner <sabre@nondot.org>2004-11-11 07:46:11 +0000
commit1f7893fe05485fc7af8d50103ab05dc97e624125 (patch)
tree0a5eb8373881d4b9ceed259c29f2a18cd9bd13b6 /test/Transforms/IPConstantProp
parent7863c404ee1316a9b0f314b07196ada524efa709 (diff)
downloadexternal_llvm-1f7893fe05485fc7af8d50103ab05dc97e624125.zip
external_llvm-1f7893fe05485fc7af8d50103ab05dc97e624125.tar.gz
external_llvm-1f7893fe05485fc7af8d50103ab05dc97e624125.tar.bz2
new testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17678 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IPConstantProp')
-rw-r--r--test/Transforms/IPConstantProp/deadarg.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Transforms/IPConstantProp/deadarg.ll b/test/Transforms/IPConstantProp/deadarg.ll
new file mode 100644
index 0000000..e28796a
--- /dev/null
+++ b/test/Transforms/IPConstantProp/deadarg.ll
@@ -0,0 +1,7 @@
+; RUN: llvm-as < %s | opt -ipconstprop -disable-output
+implementation
+
+internal void %foo(int %X) {
+ call void %foo(int %X)
+ ret void
+}