1 ; Mem2reg used to only add one incoming value to a PHI node, even if it had
2 ; multiple incoming edges from a block.
4 ; RUN: llvm-upgrade < %s | llvm-as | opt -mem2reg -disable-output
6 int %test(bool %c1, bool %c2) {
8 br bool %c1, label %Exit, label %B2
11 br bool %c2, label %Exit, label %Exit