diff options
author | Chris Lattner <sabre@nondot.org> | 2004-11-16 16:39:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-11-16 16:39:20 +0000 |
commit | 154113b78ce1e1517ba8afe6dd9f832e54dd4833 (patch) | |
tree | 8bc9431d7549ee2ea966a9c3f9a8e4dc6c493658 /test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | |
parent | 73559b1f4c18970f97f62d28bacfaebd4020e974 (diff) | |
download | external_llvm-154113b78ce1e1517ba8afe6dd9f832e54dd4833.zip external_llvm-154113b78ce1e1517ba8afe6dd9f832e54dd4833.tar.gz external_llvm-154113b78ce1e1517ba8afe6dd9f832e54dd4833.tar.bz2 |
New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17898 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP/2004-11-16-DeadInvoke.ll')
-rw-r--r-- | test/Transforms/SCCP/2004-11-16-DeadInvoke.ll | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll b/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll new file mode 100644 index 0000000..7ca8653 --- /dev/null +++ b/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll @@ -0,0 +1,14 @@ +; RUN: llvm-as < %s | opt -sccp -disable-output + +implementation + +declare int %foo() + +void %caller() { + br bool true, label %T, label %F +F: + %X = invoke int %foo() to label %T unwind label %T + +T: + ret void +} |