aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-10-09 00:09:59 +0000
committerChris Lattner <sabre@nondot.org>2002-10-09 00:09:59 +0000
commitb58d0d54a1a32b5121f94c47a735c674320cf294 (patch)
tree7c50f07533a72464e81a8df3ba0843ddd0ad7a37 /test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll
parentd1c657e2c7d1e0afb66ffce14775a88b5d52c593 (diff)
downloadexternal_llvm-b58d0d54a1a32b5121f94c47a735c674320cf294.zip
external_llvm-b58d0d54a1a32b5121f94c47a735c674320cf294.tar.gz
external_llvm-b58d0d54a1a32b5121f94c47a735c674320cf294.tar.bz2
New testcase for infinite loop that the raise pass is getting into
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4087 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll')
-rw-r--r--test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll b/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll
new file mode 100644
index 0000000..111cddc
--- /dev/null
+++ b/test/Transforms/LevelRaise/2002-10-08-VarArgCallInfLoop.ll
@@ -0,0 +1,10 @@
+; Due to a recent change, this testcase now sends the raise pass into an infinite loop
+;
+; RUN: as < %s | opt -raise
+
+implementation
+
+void %test(sbyte* %P, void(...) * %F) {
+ call void (...)* %F(sbyte* %P)
+ ret void
+}