summaryrefslogtreecommitdiff
path: root/test/Verifier/AmbiguousPhi.ll
blob: 7da71b0516264cd072ef073101f269af9a7d0738 (plain)
1
2
3
4
5
6
7
8


int "test"(int %i, int %j, bool %c) {
	br bool %c, label %A, label %A
A:
	%a = phi int [%i, %0], [%j, %0]  ; Error, different values from same block!
	ret int %a
}