llvm-6502/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
2006-12-02 04:23:10 +00:00

15 lines
222 B
LLVM

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