[llvm] r346753 - Fix comment for XOP rotates. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 13 04:09:27 PST 2018
Author: rksimon
Date: Tue Nov 13 04:09:27 2018
New Revision: 346753
URL: http://llvm.org/viewvc/llvm-project?rev=346753&view=rev
Log:
Fix comment for XOP rotates. NFCI.
Modified:
llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp?rev=346753&r1=346752&r2=346753&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86TargetTransformInfo.cpp Tue Nov 13 04:09:27 2018
@@ -1969,7 +1969,7 @@ int X86TTIImpl::getIntrinsicInstrCost(In
{ ISD::ROTR, MVT::v8i32, 1 },
{ ISD::ROTR, MVT::v4i32, 1 }
};
- // XOP: ROTL = VPROT(X,Y), ROTR = VPROT(SUB(0,X),Y)
+ // XOP: ROTL = VPROT(X,Y), ROTR = VPROT(X,SUB(0,Y))
static const CostTblEntry XOPCostTbl[] = {
{ ISD::ROTL, MVT::v4i64, 4 },
{ ISD::ROTL, MVT::v8i32, 4 },
More information about the llvm-commits
mailing list