This is an archive of the discontinued LLVM Phabricator instance.

[VPlan] Do not create dedicated latch block up front (WIP).
AbandonedPublic

Authored by fhahn on Nov 4 2021, 4:00 PM.

Details

Reviewers
Ayal
gilr
rengolin
Summary

This patch updates VPlan execution to not create and rely on the latch
block of the vector loop existing before VPlan execution.

The patch introduces VPInstruction opcodes ICmpEQ and ExitBranch
to model compares with the canonical IV and the branch exiting the loop
directly in VPlan. This is all subject to change pending feedback.

It is still WIP because there are a few remaining test failures, but I'd
like to share it early so the general direction can be reviewed.

Diff Detail

Event Timeline

fhahn created this revision.Nov 4 2021, 4:00 PM
fhahn requested review of this revision.Nov 4 2021, 4:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 4 2021, 4:00 PM
Herald added a subscriber: vkmr. · View Herald Transcript
fhahn abandoned this revision.Jan 8 2023, 3:21 PM

This has landed split up in multiple patches.

Herald added a project: Restricted Project. · View Herald TranscriptJan 8 2023, 3:21 PM