From a92076d475ed51d3ced5f2ec077f33d97aa8c8bb Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 25 Mar 2005 05:49:13 +0000 Subject: [PATCH] New testcase that crashes licm. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20829 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll 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 00000000000..6c5b1a57e17 --- /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 +} + -- 2.34.1