llvm-6502/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll

15 lines
207 B
LLVM
Raw Normal View History

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