aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-03-11 23:28:11 +0000
committerChris Lattner <sabre@nondot.org>2002-03-11 23:28:11 +0000
commit4c63ce3d23fba1df062c2ab0537325a21517da6e (patch)
treea6809a037c08e21ee7630681bf377cbcfe2f8611 /test/Transforms
parentc4db754ecf98e96318931d3ab3982afcbdb949f4 (diff)
downloadexternal_llvm-4c63ce3d23fba1df062c2ab0537325a21517da6e.zip
external_llvm-4c63ce3d23fba1df062c2ab0537325a21517da6e.tar.gz
external_llvm-4c63ce3d23fba1df062c2ab0537325a21517da6e.tar.bz2
New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1863 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll b/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll
new file mode 100644
index 0000000..86dacf7
--- /dev/null
+++ b/test/Transforms/InstCombine/2002-03-11-InstCombineHang.ll
@@ -0,0 +1,11 @@
+; This testcase causes instcombine to hang.
+;
+; RUN: as < %s | opt -instcombine
+
+implementation
+
+void "test"(int %X)
+begin
+ %reg117 = add int %X, 0
+ ret void
+end