llvm-mirror/test/Regression/Transforms/SCCP/2004-11-16-DeadInvoke.ll
Chris Lattner 7a2f923599 New testcase for recent patch to SCCP, thanks to Nate Begeman for pointing
out this recent regression

llvm-svn: 17898
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
}