Author: clamb Date: Tue Dec 18 14:33:11 2007 New Revision: 45170 URL: http://llvm.org/viewvc/llvm-project?rev=45170&view=rev Log: Fix comments
Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Modified: llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp?rev=45170&r1=45169&r2=45170&view=diff ============================================================================== --- llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp (original) +++ llvm/trunk/lib/Transforms/Scalar/InstructionCombining.cpp Tue Dec 18 14:33:11 2007 @@ -2151,14 +2151,12 @@ if (match(FV, m_ConstantInt(C1)) && C1->getValue() == 0 && match(TV, m_Sub(m_ConstantInt(C2), m_Value(A))) && A == Other) { - // We managed to fold the add into the true select value, - // picking up a simplified condition, if available. + // We managed to fold the add into the true select value. return new SelectInst(SI->getCondition(), C2, A); } else if (match(TV, m_ConstantInt(C1)) && C1->getValue() == 0 && match(FV, m_Sub(m_ConstantInt(C2), m_Value(A))) && A == Other) { - // We managed to fold the add into the false select value, - // picking up a simplified condition, if available. + // We managed to fold the add into the false select value. return new SelectInst(SI->getCondition(), A, C2); } } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits