diff --git a/llvm/include/llvm/CodeGen/PBQP/Graph.h b/llvm/include/llvm/CodeGen/PBQP/Graph.h index ba6b252221e0..90e7e4f07421 100644 --- a/llvm/include/llvm/CodeGen/PBQP/Graph.h +++ b/llvm/include/llvm/CodeGen/PBQP/Graph.h @@ -312,7 +312,6 @@ namespace PBQP { /// \brief Set a node's cost vector. /// @param NId Node to update. /// @param Costs New costs to set. - /// @return Node cost vector. template void setNodeCosts(NodeId NId, OtherVectorT Costs) { VectorPtr AllocatedCosts = CostAlloc.getVector(std::move(Costs));