Renaming should include blocks with existing Phis.
Resolves PR45927.
Paths
| Differential D87661
[MemorySSA] Rename uses in blocks with Phis. ClosedPublic Authored by asbirlea on Sep 14 2020, 6:18 PM.
Details Summary Renaming should include blocks with existing Phis. Resolves PR45927.
Diff Detail
Event TimelineComment Actions
oof. maybe we should make the accessor for the AliasResult do return isOptimized() ? actualResult : MayAlias;? lgtm either way though -- thanks for this! This revision is now accepted and ready to land.Sep 15 2020, 5:27 PM asbirlea retitled this revision from [MemorySSA] Rename uses starting at defining access to [MemorySSA] Rename uses in blocks with Phis..Sep 16 2020, 5:22 PM Comment ActionsIncorrect previous approach. The renaming needs to start at the block with the new def, but it needs to rename all blocks in the IDF, not just those with phis added. This revision was landed with ongoing or failed builds.Sep 16 2020, 5:27 PM Closed by commit rG344a3d0bc0fb: [MemorySSA] Rename uses in blocks with Phis. (authored by asbirlea). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 292380 llvm/lib/Analysis/MemorySSAUpdater.cpp
llvm/test/Analysis/MemorySSA/pr45927.ll
|