blob: 79bcd814f3a8b7aa76860e5b0b9b688edb109695 [file] [log] [blame]
Chris Lattner277f6512002-05-22 20:46:30 +00001; It is illegal to remove BB1 because it will mess up the PHI node!
2;
3; RUN: as < %s | opt -adce | dis | grep BB1
4
5
6int "test"(bool %C, int %A, int %B) {
7 br bool %C, label %BB1, label %BB2
8BB1:
9 br label %BB2
10BB2:
11 %R = phi int [%A, %0], [%B, %BB1]
12 ret int %R
13}