about summary refs log tree commit diff homepage
path: root/test/Concrete/UnconditionalBranchWithSimplePhi.ll
blob: d3bccb56b87662017a1547f7aa39e4060b522847 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: %S/ConcreteTest.py --klee='%klee' --lli=%lli %s

declare void @print_i32(i32)

define i32 @main() {
entry:
	%a = add i32 0, 1
	br label %exit
unused:
	%b = add i32 1, 2
	br label %exit
exit:
	%c = phi i32 [%a, %entry], [%b, %unused]
	call void @print_i32(i32 %c)
	ret i32 0
}