[llvm] [CodeGen][NewPM] Split `MachineDominatorTree` into a concrete analysis result (PR #94571)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 6 08:19:00 PDT 2024
================
@@ -266,6 +266,7 @@ class MachineDominatorTree : public DomTreeBase<MachineBasicBlock> {
/// \brief Analysis pass which computes a \c MachineDominatorTree.
class MachineDominatorTreeWrapperPass : public MachineFunctionPass {
MachineDominatorTree DT;
+ bool IsDomTreeEmpty = true;
----------------
arsenm wrote:
Either make it std::optional or fix the verifier to not assert on the empty case
https://github.com/llvm/llvm-project/pull/94571
More information about the llvm-commits
mailing list