Skip to content

Commit 32ebb11

Browse files
committed
[WIP][VPlan based] Time to remove CM_Strided
1 parent 831c782 commit 32ebb11

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
@@ -1085,7 +1085,6 @@ class LoopVectorizationCostModel {
10851085
CM_Widen_Reverse, // For consecutive accesses with stride -1.
10861086
CM_Interleave,
10871087
CM_GatherScatter,
1088-
CM_Strided,
10891088
CM_Scalarize,
10901089
CM_VectorCall,
10911090
CM_IntrinsicCall
@@ -6397,8 +6396,6 @@ LoopVectorizationCostModel::getInstructionCost(Instruction *I,
63976396
return TTI::CastContextHint::Normal;
63986397

63996398
switch (getWideningDecision(I, VF)) {
6400-
// TODO: New CastContextHint for strided accesses.
6401-
case LoopVectorizationCostModel::CM_Strided:
64026399
case LoopVectorizationCostModel::CM_GatherScatter:
64036400
return TTI::CastContextHint::GatherScatter;
64046401
case LoopVectorizationCostModel::CM_Interleave:

0 commit comments

Comments
 (0)