Skip to content

Commit 8989f33

Browse files
committed
!fixup, remove unnecessary planContainsAdditionalSimplifications.
1 parent 776235f commit 8989f33

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7018,12 +7018,6 @@ static bool planContainsAdditionalSimplifications(VPlan &Plan,
70187018
auto Iter = vp_depth_first_deep(Plan.getVectorLoopRegion()->getEntry());
70197019
for (VPBasicBlock *VPBB : VPBlockUtils::blocksOnly<VPBasicBlock>(Iter)) {
70207020
for (VPRecipeBase &R : *VPBB) {
7021-
if (auto *MR = dyn_cast<VPWidenMemoryRecipe>(&R)) {
7022-
// The address computation cost can be query as scalar type if the
7023-
// address is uniform.
7024-
if (!MR->isConsecutive() && vputils::isSingleScalar(MR->getAddr()))
7025-
return true;
7026-
}
70277021
if (auto *IR = dyn_cast<VPInterleaveRecipe>(&R)) {
70287022
auto *IG = IR->getInterleaveGroup();
70297023
unsigned NumMembers = IG->getNumMembers();

0 commit comments

Comments
 (0)