[llvm] [DomTree] Fix root attachment in runDFS() (PR #73148)
Jakub Kuderski via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 24 11:12:42 PST 2023
================
@@ -552,7 +553,7 @@ struct SemiNCAInfo {
addVirtualRoot();
unsigned Num = 1;
- for (const NodePtr Root : DT.Roots) Num = runDFS(Root, Num, DC, 0);
+ for (const NodePtr Root : DT.Roots) Num = runDFS(Root, Num, DC, 1);
----------------
kuhar wrote:
Ah yes yes.
https://github.com/llvm/llvm-project/pull/73148
More information about the llvm-commits
mailing list