1 ; This testcase checks to make sure we can sink values which are only live on
2 ; some exits out of the loop, and that we can do so without breaking dominator
5 ; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis | \
6 ; RUN: %prcontext add 1 | grep exit2:
8 implementation ; Functions:
10 int %test(bool %C1, bool %C2, int *%P, int* %Q) {
15 br bool %C1, label %Cont, label %exit1
20 br bool %C2, label %Loop, label %exit2