Improve findDominatingLoad implementation:
- Result is saved into gvn::AvailableValue struct
- Search is done in extended BB (while there is a single predecessor or limit is reached)
Paths
| Differential D141680
[GVN] Refactor findDominatingLoad function ClosedPublic Authored by kachkov98 on Jan 13 2023, 5:21 AM.
Details
Summary Improve findDominatingLoad implementation:
Diff Detail
Event Timelinekachkov98 added a parent revision: D141619: [GVN] Refactor handling of pointer-select in GVN pass.Jan 13 2023, 5:23 AM
Comment Actions LGTM
This revision is now accepted and ready to land.Jan 19 2023, 6:06 AM This revision was landed with ongoing or failed builds.Jan 20 2023, 12:54 AM Closed by commit rGe1a702db2fcd: [GVN] Refactor findDominatingLoad function (authored by kachkov98). · Explain Why This revision was automatically updated to reflect the committed changes. uabelho added inline comments.
Revision Contents
Diff 488966 llvm/lib/Transforms/Scalar/GVN.cpp
llvm/test/Transforms/GVN/PRE/pre-load-through-select.ll
|
clobbered