about summary refs log tree commit diff homepage
path: root/test/Concrete/UnconditionalBranchWithSimplePhi.ll
blob: d290ac0e278b83c4d3e0522e102577dcb9bfbbc5 (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
}