Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Transforms / SCCP / 2004-11-16-DeadInvoke.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -sccp -disable-output
2
3 implementation
4
5 declare int %foo()
6
7 void %caller() {
8         br bool true, label %T, label %F
9 F:
10         %X = invoke int %foo() to label %T unwind label %T
11
12 T:
13         ret void
14 }