[llvm] 99a726e - [SelectionDAGISel] Const correct ChainNodesMatched argument to HandleMergeInputChains. NFC (#167807)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 12 22:57:01 PST 2025


Author: Craig Topper
Date: 2025-11-12T22:56:57-08:00
New Revision: 99a726ea51d31eef39a5defe05a1b9e30cf9f622

URL: https://github.com/llvm/llvm-project/commit/99a726ea51d31eef39a5defe05a1b9e30cf9f622
DIFF: https://github.com/llvm/llvm-project/commit/99a726ea51d31eef39a5defe05a1b9e30cf9f622.diff

LOG: [SelectionDAGISel] Const correct ChainNodesMatched argument to HandleMergeInputChains. NFC (#167807)

Added: 
    

Modified: 
    llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index e78dfb12505c7..e7d4c4b88191b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2782,7 +2782,7 @@ void SelectionDAGISel::UpdateChains(
 /// induce cycles in the DAG) and if so, creating a TokenFactor node. that will
 /// be used as the input node chain for the generated nodes.
 static SDValue
-HandleMergeInputChains(SmallVectorImpl<SDNode*> &ChainNodesMatched,
+HandleMergeInputChains(const SmallVectorImpl<SDNode *> &ChainNodesMatched,
                        SelectionDAG *CurDAG) {
 
   SmallPtrSet<const SDNode *, 16> Visited;


        


More information about the llvm-commits mailing list