From: Craig Topper Date: Thu, 6 Jul 2017 16:24:22 +0000 (+0000) Subject: [InstCombine] Clarify comment to mention other transform that it does. NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5e02f6765433109d26e8ccababa085e20eeccb36;p=llvm [InstCombine] Clarify comment to mention other transform that it does. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307274 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp index a23cad40a38..7e8c2e1b4c1 100644 --- a/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp +++ b/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp @@ -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.