Fix missing namespace in API implementation.
authorMircea Trofin <mtrofin@google.com>
Tue, 28 Apr 2020 04:05:33 +0000 (21:05 -0700)
committerMircea Trofin <mtrofin@google.com>
Tue, 28 Apr 2020 04:05:33 +0000 (21:05 -0700)
llvm/lib/Analysis/InlineCost.cpp

index c7894a9..0b58d69 100644 (file)
@@ -2219,7 +2219,7 @@ InlineCost llvm::getInlineCost(
                        GetAssumptionCache, GetBFI, GetTLI, PSI, ORE);
 }
 
-Optional<int> getInliningCostEstimate(
+Optional<int> llvm::getInliningCostEstimate(
     CallBase &Call, TargetTransformInfo &CalleeTTI,
     std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
     Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,