This is an archive of the discontinued LLVM Phabricator instance.

[LoopVersioning] Add utility to fetch the runtime check basic block
AbandonedPublic

Authored by eopXD on Jun 21 2021, 12:24 AM.

Details

Reviewers
fhahn
Ayal
Whitney
Summary

This allow user to get the basic block, get the BranchInst from BB.
The utility is needed when other passes that versions the loops want to
append more conditions to the runtime check.

Diff Detail

Event Timeline

eopXD created this revision.Jun 21 2021, 12:24 AM
eopXD requested review of this revision.Jun 21 2021, 12:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 21 2021, 12:24 AM
eopXD updated this revision to Diff 353286.Jun 21 2021, 12:25 AM

Update the code.

eopXD added a comment.Jun 21 2021, 1:03 AM
This comment was removed by eopXD.

This change looks like part of the change in https://reviews.llvm.org/D104631?

eopXD abandoned this revision.Aug 25 2021, 11:23 PM

This change looks like part of the change in https://reviews.llvm.org/D104631?

Yes. I originally thought of splitting the modifications into two patches to make commits more obvious. Now I think a single patch would be good.
Aborting this patch and heading to D104631 to finish it.