diff options
author | Chris Lattner <sabre@nondot.org> | 2005-03-25 05:49:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-03-25 05:49:13 +0000 |
commit | a92076d475ed51d3ced5f2ec077f33d97aa8c8bb (patch) | |
tree | 242f523cb411cfc9943c1d07333f147b1eaf3c83 /test | |
parent | 70ac2dcb841dc62f08e16f0b0e2cefbf01baa4c5 (diff) | |
download | external_llvm-a92076d475ed51d3ced5f2ec077f33d97aa8c8bb.zip external_llvm-a92076d475ed51d3ced5f2ec077f33d97aa8c8bb.tar.gz external_llvm-a92076d475ed51d3ced5f2ec077f33d97aa8c8bb.tar.bz2 |
New testcase that crashes licm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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 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 +} + |