This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Place VPExpandSCEVRecipe in pre-header.
ClosedPublic

Authored by fhahn on Mar 20 2022, 3:16 AM.

Details

Summary

After D121624 models the pre-header in VPlan, VPExpandSCEVRecipes can be
placed there. This ensures SCEV expansion happens before modifying the
CFG during VPlan execution, when CFG is incomplete.

Depends on D121624.

Diff Detail

Event Timeline

fhahn created this revision.Mar 20 2022, 3:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2022, 3:16 AM
fhahn requested review of this revision.Mar 20 2022, 3:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 20 2022, 3:16 AM
Herald added a subscriber: vkmr. · View Herald Transcript
Ayal accepted this revision.Mar 28 2022, 1:27 AM

Looks good to me!

This revision is now accepted and ready to land.Mar 28 2022, 1:27 AM
fhahn updated this revision to Diff 421752.Apr 9 2022, 12:41 PM

Rebase to trigger pre-commit tests before landing.

This revision was landed with ongoing or failed builds.Apr 10 2022, 1:28 AM
This revision was automatically updated to reflect the committed changes.