New testcase that crashes licm.
authorChris Lattner <sabre@nondot.org>
Fri, 25 Mar 2005 05:49:13 +0000 (05:49 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 25 Mar 2005 05:49:13 +0000 (05:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20829 91177308-0d34-0410-b5e6-96231b3b80d8

test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll [new file with mode: 0644]

diff --git a/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll b/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll
new file mode 100644 (file)
index 0000000..6c5b1a5
--- /dev/null
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | opt -licm -disable-output
+
+void %test({int}* %P) {
+       br label %Loop
+
+Loop:
+       free {int}* %P
+       br label %Loop
+}
+