Skip to content

Commit 95a890b

Browse files
committed
[WIP][VPlan based] Time to remove CM_Strided
1 parent a0b61ad commit 95a890b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,7 +1095,6 @@ class LoopVectorizationCostModel {
10951095
CM_Widen_Reverse, // For consecutive accesses with stride -1.
10961096
CM_Interleave,
10971097
CM_GatherScatter,
1098-
CM_Strided,
10991098
CM_Scalarize,
11001099
CM_VectorCall,
11011100
CM_IntrinsicCall
@@ -6652,8 +6651,6 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I,
66526651
return TTI::CastContextHint::Normal;
66536652

66546653
switch (getWideningDecision(I, VF)) {
6655-
// TODO: New CastContextHint for strided accesses.
6656-
case LoopVectorizationCostModel::CM_Strided:
66576654
case LoopVectorizationCostModel::CM_GatherScatter:
66586655
return TTI::CastContextHint::GatherScatter;
66596656
case LoopVectorizationCostModel::CM_Interleave:

0 commit comments

Comments
 (0)