SSAUpdate might insert PHI-nodes inside loops, which can break LCSSA
form unless we fix it up.
This fixes PR28424.
Paths
| Differential D21997
[LCSSA] Post-process PHI-nodes created by SSAUpdate when constructing LCSSA form. ClosedPublic Authored by mzolotukhin on Jul 5 2016, 9:12 AM.
Details Summary SSAUpdate might insert PHI-nodes inside loops, which can break LCSSA This fixes PR28424.
Diff Detail
Event Timelinemzolotukhin retitled this revision from to [LCSSA] Post-process PHI-nodes created by SSAUpdate when constructing LCSSA form.. mzolotukhin updated this object. Comment Actions The patch at least solves my original problem and I haven't seen anything breaking with it during the limited testing i've done so far. chandlerc edited edge metadata. Comment ActionsLGTM, this makes perfect sense.
This revision is now accepted and ready to land.Jul 15 2016, 2:07 PM Closed by commit rL275883: [LCSSA] Post-process PHI-nodes created by SSAUpdate when constructing LCSSA… (authored by mzolotukhin). · Explain WhyJul 18 2016, 12:12 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 64360 llvm/trunk/lib/Transforms/Utils/LCSSA.cpp
llvm/trunk/test/Transforms/LCSSA/pr28424.ll
|