This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyCFG] Optionally update LI in sinkCommonCodeFromPredecessors.
AbandonedPublic

Authored by fhahn on Apr 27 2021, 7:54 AM.

Details

Summary

LI can easily preserved by sinkCommonCodeFromPredecessors by passing
through LI to SplitBlockPredecessors.

Diff Detail

Event Timeline

fhahn created this revision.Apr 27 2021, 7:54 AM
fhahn requested review of this revision.Apr 27 2021, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 27 2021, 7:54 AM
lebedev.ri accepted this revision.Apr 27 2021, 7:56 AM

LG, thanks.

This revision is now accepted and ready to land.Apr 27 2021, 7:56 AM
RKSimon accepted this revision.Apr 27 2021, 8:18 AM

LGTM

llvm/include/llvm/Transforms/Utils/Local.h
60

sorting

fhahn abandoned this revision.Sep 12 2021, 11:52 AM

There are no plans to use this as utility would require updating loop info. Abandoning for now.