llvm-6502/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
Chris Lattner 154113b78c 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
2004-11-16 16:39:20 +00:00

15 lines
207 B
LLVM

; 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
}