diff options
-rw-r--r-- | test/Transforms/LICM/2005-03-24-LICM-Aggregate-Crash.ll | 10 |
1 files changed, 10 insertions, 0 deletions
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 0000000000..6c5b1a57e1 --- /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 +} + |