This is an archive of the discontinued LLVM Phabricator instance.

[LV] Do not create separate latch block in VPlan::execute.
ClosedPublic

Authored by fhahn on Mar 14 2022, 10:00 AM.

Details

Summary

Now that all dependencies on creating the latch block up-front have been
removed, there is no need to create it early.

Depends on D121618.

Diff Detail

Event Timeline

fhahn created this revision.Mar 14 2022, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 10:00 AM
fhahn requested review of this revision.Mar 14 2022, 10:00 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 10:00 AM
Herald added a subscriber: vkmr. · View Herald Transcript
Ayal accepted this revision.Mar 20 2022, 4:12 PM

Nice! Looks good to me.

llvm/lib/Transforms/Vectorize/VPlan.cpp
759–760

Rename it State.CFG.ExitBB?
Update above TODO?

923

Only "1" is left, can be removed.

This revision is now accepted and ready to land.Mar 20 2022, 4:12 PM
fhahn updated this revision to Diff 418601.Mar 28 2022, 8:44 AM
fhahn marked 2 inline comments as done.

Address latest comments, thanks! I am planning to push this once the last remaining dependency (D121618) lands.

This revision was landed with ongoing or failed builds.Mar 30 2022, 9:31 AM
This revision was automatically updated to reflect the committed changes.