[llvm] [GenericDomTree][NFC] Use llvm algorithms (PR #97104)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 15:42:31 PDT 2024
================
@@ -852,19 +850,10 @@ class DominatorTreeBase {
"NewBB should have a single successor!");
NodeRef NewBBSucc = *GraphT::child_begin(NewBB);
- SmallVector<NodeRef, 4> PredBlocks(inverse_children<N>(NewBB));
+ const SmallVector<NodeRef, 4> PredBlocks(inverse_children<N>(NewBB));
----------------
dwblaikie wrote:
Unrelated change? Also, top-level const isn't usually used in LLVM.
https://github.com/llvm/llvm-project/pull/97104
More information about the llvm-commits
mailing list