llvm.org GIT mirror llvm / release_29 test / Transforms / SCCP / 2004-11-16-DeadInvoke.ll
release_29

Tree @release_29 (Download .tar.gz)

2004-11-16-DeadInvoke.ll @release_29raw · history · blame

; RUN: opt < %s -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
}