[PATCH] D68235: [Dominators][CodeGen] Add MachinePostDominatorTree verification
Mikael Holmén via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 01:35:52 PDT 2019
uabelho added inline comments.
================
Comment at: llvm/trunk/lib/CodeGen/MachineSink.cpp:124
AU.addRequired<MachineBranchProbabilityInfo>();
- AU.addPreserved<MachineDominatorTree>();
- AU.addPreserved<MachinePostDominatorTree>();
AU.addPreserved<MachineLoopInfo>();
if (UseBlockFreqInfo)
----------------
Hi,
In my out-of-tree target I'm seeing strange problems with MachineLoopInfo with this patch and I'm wondering if perhaps we should also remove MachineLoopInfo from the preserved passes above?
Since MachineLoopInfo uses MachineDominatorTree, won't MLI also possibly be invalid if MDT is invalid?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68235/new/
https://reviews.llvm.org/D68235
More information about the llvm-commits
mailing list