This is an archive of the discontinued LLVM Phabricator instance.

[LV] Switch to using pre-computed VF ranges instead clamping.
AbandonedPublic

Authored by fhahn on Mar 18 2021, 3:14 AM.

Details

Reviewers
Ayal
gilr
rengolin
Summary

This patch replaces the current logic to clamp the vectorization factors
during recipe creation with using pre-computed VF ranges. The clamp is
replaced with a assertion checking that the same decision is taken for
all VFs in the current range.

The main motivation is untangling the VF range clamping from recipe
creation. Computing the ranges of VFs with matching decisions up-front
will enable us to break down VPlan creation into more modular steps.

Diff Detail

Event Timeline

fhahn created this revision.Mar 18 2021, 3:14 AM
fhahn requested review of this revision.Mar 18 2021, 3:14 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2021, 3:14 AM
Herald added a subscriber: vkmr. · View Herald Transcript
fhahn abandoned this revision.Apr 27 2021, 4:16 AM

I changed focus on transitioning sinking of scalar operands to a VPlan-to-VPlan transform in D100258.