[InstCombine] Clarify comment to mention other transform that it does. NFC

llvm-svn: 307274
This commit is contained in:
Craig Topper 2017-07-06 16:24:22 +00:00
parent 22795de20a
commit fc42acef92
1 changed files with 2 additions and 1 deletions

View 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.