Skip to content

Commit 72a7fbc

Browse files
committed
Fix comment for XOP rotates. NFCI.
llvm-svn: 346753
1 parent 828dab3 commit 72a7fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/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)