Skip to content

Commit 0e9e2a5

Browse files
committed
remove unnecessary parentheses
1 parent 9ebb6e4 commit 0e9e2a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ bool VectorCombine::foldInsExtFNeg(Instruction &I) {
719719
SmallVector<int> SrcMask;
720720
if (NeedLenChg) {
721721
SrcMask.assign(NumDstElts, PoisonMaskElem);
722-
SrcMask[(ExtIdx % NumDstElts)] = ExtIdx;
722+
SrcMask[ExtIdx % NumDstElts] = ExtIdx;
723723
NewCost += TTI.getShuffleCost(TargetTransformInfo::SK_PermuteSingleSrc,
724724
SrcVecTy, SrcMask, CostKind);
725725
}

0 commit comments

Comments
 (0)