If a vr is already marked alive in a bb, then it has PHI uses that are visited earlie...
[oota-llvm.git] / test / CodeGen / PowerPC / fnegsel.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep fneg
2
3 double %test_FNEG_sel(double %A, double %B, double %C) {
4     %D = sub double -0.0, %A
5     %Cond = setgt double %D, -0.0
6     %E = select bool %Cond, double %B, double %C
7         ret double %E
8 }