Skip to content

Commit 594c5b1

Browse files
committed
[SLP] Update TODO comment about shuffle mask decoding
This is handled in ShuffleVectorInst/getShuffleCost - getInstructionThroughput is (slowly) being removed.
1 parent f61f99a commit 594c5b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ static bool isUndefVector(const Value *V) {
345345
/// InstCombiner transforms this into a shuffle and vector mul
346346
/// Mask will return the Shuffle Mask equivalent to the extracted elements.
347347
/// TODO: Can we split off and reuse the shuffle mask detection from
348-
/// TargetTransformInfo::getInstructionThroughput?
348+
/// ShuffleVectorInst/getShuffleCost?
349349
static Optional<TargetTransformInfo::ShuffleKind>
350350
isFixedVectorShuffle(ArrayRef<Value *> VL, SmallVectorImpl<int> &Mask) {
351351
const auto *It =

0 commit comments

Comments
 (0)