[PATCH] D68154: [Dominators][CodeGen] Fix MachineDominatorTree preservation in PHIElimination
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 16:15:52 PDT 2019
arsenm added inline comments.
================
Comment at: llvm/lib/CodeGen/PHIElimination.cpp:189-190
+ if (Changed && MDT)
+ MDT->getBase().recalculate(MF);
+
----------------
Isn't this basically the same as making it unpreserved? If you aren't going to update at the points it needs, I think it would be better to just stop reporting it as preserved
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68154/new/
https://reviews.llvm.org/D68154
More information about the llvm-commits
mailing list