llvm-6502/test/Verifier/AmbiguousPhi.ll

9 lines
166 B
LLVM
Raw Normal View History

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
}