Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 25a367f

Browse files
committed
Fix comment for XOP rotates. NFCI.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346753 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 1ee147e commit 25a367f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Target/X86/X86TargetTransformInfo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,7 @@ int X86TTIImpl::getIntrinsicInstrCost(Intrinsic::ID IID, Type *RetTy,
19691969
{ ISD::ROTR, MVT::v8i32, 1 },
19701970
{ ISD::ROTR, MVT::v4i32, 1 }
19711971
};
1972-
// XOP: ROTL = VPROT(X,Y), ROTR = VPROT(SUB(0,X),Y)
1972+
// XOP: ROTL = VPROT(X,Y), ROTR = VPROT(X,SUB(0,Y))
19731973
static const CostTblEntry XOPCostTbl[] = {
19741974
{ ISD::ROTL, MVT::v4i64, 4 },
19751975
{ ISD::ROTL, MVT::v8i32, 4 },

0 commit comments

Comments
 (0)