diff options
author | Chris Lattner <sabre@nondot.org> | 2004-10-17 23:44:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-10-17 23:44:02 +0000 |
commit | 559069d46d2d1f7a8fc53c72bd8c54d28cd7aa0d (patch) | |
tree | 1697663fd1c4e84671d75870f32443cd053abbce | |
parent | 3787e765facfad5ea62753922d940bcdd52afd57 (diff) | |
download | external_llvm-559069d46d2d1f7a8fc53c72bd8c54d28cd7aa0d.zip external_llvm-559069d46d2d1f7a8fc53c72bd8c54d28cd7aa0d.tar.gz external_llvm-559069d46d2d1f7a8fc53c72bd8c54d28cd7aa0d.tar.bz2 |
New testcase that ADCE shouldn't crash on
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17105 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Transforms/ADCE/unreachable-function.ll | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Transforms/ADCE/unreachable-function.ll b/test/Transforms/ADCE/unreachable-function.ll new file mode 100644 index 0000000..353276f --- /dev/null +++ b/test/Transforms/ADCE/unreachable-function.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | opt -adce -disable-output + +void %test() { + unreachable +} |