llvm-6502/test/Transforms/PruneEH/2003-11-21-PHIUpdate.llx
2006-12-02 04:23:10 +00:00

16 lines
259 B
Plaintext

; RUN: llvm-upgrade < %s | llvm-as | opt -prune-eh -disable-output
implementation
internal void %callee() { ; does not throw
ret void
}
int %caller() {
invoke void %callee() to label %E except label %E
E:
%X = phi int [0, %0], [0, %0]
ret int %X
}