[llvm] [DomTree] Remove unnecessary domtree level check in SemiNCA (NFC) (PR #73107)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 22 08:52:52 PST 2023
================
@@ -289,11 +289,6 @@ struct SemiNCAInfo {
assert(NodeToInfo.contains(N) &&
"ReverseChildren should not contain unreachable predecessors");
- const TreeNodePtr TN = DT.getNode(N);
- // Skip predecessors whose level is above the subtree we are processing.
- if (TN && TN->getLevel() < MinLevel)
- continue;
----------------
kuhar wrote:
I think @alinas might have access to some fancy fleet-wide profiles -- could you confirm if this appears dead?
https://github.com/llvm/llvm-project/pull/73107
More information about the llvm-commits
mailing list