Changes in directory llvm/lib/Transforms/Scalar:
PredicateSimplifier.cpp updated: 1.32 -> 1.33 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+3 -3) PredicateSimplifier.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp diff -u llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.32 llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.33 --- llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp:1.32 Sun Nov 5 08:19:40 2006 +++ llvm/lib/Transforms/Scalar/PredicateSimplifier.cpp Sun Nov 5 13:31:28 2006 @@ -428,7 +428,7 @@ // "setlt/gt int %a, %b" NE false then %a NE %b if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) { - if (CB->getValue() ^ Opcode==NE) + if (CB->getValue() ^ (Opcode==NE)) addNotEqual(BO->getOperand(0), BO->getOperand(1)); } break; @@ -437,7 +437,7 @@ // "setle/ge int %a, %b" EQ false then %a NE %b // "setle/ge int %a, %b" NE true then %a NE %b if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) { - if (CB->getValue() ^ Opcode==EQ) + if (CB->getValue() ^ (Opcode==EQ)) addNotEqual(BO->getOperand(0), BO->getOperand(1)); } break; @@ -486,7 +486,7 @@ if (ConstantBool *CB = dyn_cast<ConstantBool>(V1)) { if (ConstantBool *A = dyn_cast<ConstantBool>(LHS)) { addEqual(RHS, ConstantBool::get(A->getValue() ^ CB->getValue() - ^ Opcode==NE)); + ^ (Opcode==NE))); } } else if (ConstantIntegral *CI = dyn_cast<ConstantIntegral>(V1)) { _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits