diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index ece50ed95fc49..d831502336815 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -2748,7 +2748,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 &ChainNodesMatched, +HandleMergeInputChains(const SmallVectorImpl &ChainNodesMatched, SelectionDAG *CurDAG) { SmallPtrSet Visited;