1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll

14 lines
255 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | opt -sccp -disable-output
declare i32 @foo()
define void @caller() {
br i1 true, label %T, label %F
F: ; preds = %0
%X = invoke i32 @foo( )
to label %T unwind label %T ; <i32> [#uses=0]
T: ; preds = %F, %F, %0
ret void
}