This is an archive of the discontinued LLVM Phabricator instance.

[WIP][SimplifyCFG] Adjust sinking strategy for conditional predecessors.
AbandonedPublic

Authored by DianQK on Jul 16 2023, 7:15 AM.

Details

Reviewers
None

Diff Detail

Event Timeline

DianQK created this revision.Jul 16 2023, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2023, 7:15 AM
DianQK requested review of this revision.Jul 16 2023, 7:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 16 2023, 7:15 AM
DianQK retitled this revision from [SimplifyCFG] Adjust sinking strategy for conditional predecessors. to [WIP][SimplifyCFG] Adjust sinking strategy for conditional predecessors..Jul 16 2023, 7:16 AM
xbolva00 added inline comments.
llvm/lib/Transforms/Utils/SimplifyCFG.cpp
2258

Please add extra comment to explain your change.

DianQK abandoned this revision.Jul 17 2023, 6:30 PM

I will write the new idea in D155395.

llvm/lib/Transforms/Utils/SimplifyCFG.cpp
2258

This is a trick change in WIP.
I want to find a more suitable sink strategy to avoid missing out on some good opportunities.
I have reconsidered the optimization approach for D155395, and sink may not be the appropriate route.