The function FoldSingleEntryPHINodes() is changed to return if it has changed IR or not. This return value is used by RS4GC to set the MadeChange flag respectively.
The change is simple. No test is needed.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D93810
[RS4GC] Lazily set changed flag when folding single entry phis ClosedPublic Authored by yrouban on Dec 25 2020, 2:58 AM.
Details Summary The function FoldSingleEntryPHINodes() is changed to return if it has changed IR or not. This return value is used by RS4GC to set the MadeChange flag respectively.
Diff Detail Event TimelineThis revision is now accepted and ready to land.Dec 26 2020, 11:14 AM Closed by commit rGd76c1d2247af: [RS4GC] Lazily set changed flag when folding single entry phis (authored by yrouban). · Explain WhyDec 27 2020, 8:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 313724 llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h
llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
|