]> granicus.if.org Git - llvm/commitdiff
[InstCombine] Clarify comment to mention other transform that it does. NFC
authorCraig Topper <craig.topper@intel.com>
Thu, 6 Jul 2017 16:24:22 +0000 (16:24 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 6 Jul 2017 16:24:22 +0000 (16:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307274 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

index a23cad40a38c706afe6a032870913b5387cbfca9..7e8c2e1b4c1ddfc12533cb3c395f570b036f2cc0 100644 (file)
@@ -75,7 +75,8 @@ static Value *getFCmpValue(unsigned Code, Value *LHS, Value *RHS,
   return Builder->CreateFCmp(Pred, LHS, RHS);
 }
 
-/// \brief Transform BITWISE_OP(BSWAP(A),BSWAP(B)) to BSWAP(BITWISE_OP(A, B))
+/// \brief Transform BITWISE_OP(BSWAP(A),BSWAP(B)) or
+/// BITWISE_OP(BSWAP(A), Constant) to BSWAP(BITWISE_OP(A, B))
 /// \param I Binary operator to transform.
 /// \return Pointer to node that must replace the original binary operator, or
 ///         null pointer if no transformation was made.