Fix comments
authorChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Dec 2007 20:33:11 +0000 (20:33 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Dec 2007 20:33:11 +0000 (20:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45170 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/InstructionCombining.cpp

index dec298b14b1b75fb6541eeac184d9ee17c17e05e..1e4b1c3693ec4ba40a46f0c606415264dd33c68d 100644 (file)
@@ -2151,14 +2151,12 @@ Instruction *InstCombiner::visitAdd(BinaryOperator &I) {
       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);
       }
     }