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

15 lines
222 B
LLVM
Raw Normal View History

; RUN: llvm-upgrade < %s | llvm-as | 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
}