hanchenye-llvm-project/llvm/test/Regression/Verifier/AmbiguousPhi.ll

9 lines
166 B
LLVM

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
}