diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index f5804430ee2..5b16f6288bc 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -4714,7 +4714,7 @@ getConstantEvolvingPHIOperands(Instruction *UseInst, const Loop *L, // If this operand is already visited, reuse the prior result. P = PHIMap.lookup(OpInst); if (P) { - assert(!PHI || P == PHI && "inconsitent data flow"); + assert((!PHI || P == PHI) && "inconsitent data flow"); PHI = P; continue; }