aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll
blob: 7ca86536bde6122ea90d03d8b9dbc8d0afe5d15f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: llvm-as < %s | 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
}