New testcase that crashes licm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20829 91177308-0d34-0410-b5e6-96231b3b80d8
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
index 0000000..6c5b1a5
--- /dev/null
+++ b/test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll
@@ -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
+}
+