diff --git a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp --- a/llvm/lib/Transforms/Utils/SampleProfileInference.cpp +++ b/llvm/lib/Transforms/Utils/SampleProfileInference.cpp @@ -572,6 +572,9 @@ std::vector> AugmentingEdges; }; +constexpr int64_t MinCostMaxFlow::AuxCostUnlikely; +constexpr uint64_t MinCostMaxFlow::MinBaseDistance; + /// A post-processing adjustment of control flow. It applies two steps by /// rerouting some flow and making it more realistic: ///