[PATCH] D121293: Fix linking error, undefined class static constants.

Benoit Jacob via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 09:57:31 PST 2022


Benoit updated this revision to Diff 414136.
Benoit added a comment.

rebased


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121293/new/

https://reviews.llvm.org/D121293

Files:
  llvm/lib/Transforms/Utils/SampleProfileInference.cpp


Index: llvm/lib/Transforms/Utils/SampleProfileInference.cpp
===================================================================
--- llvm/lib/Transforms/Utils/SampleProfileInference.cpp
+++ llvm/lib/Transforms/Utils/SampleProfileInference.cpp
@@ -572,6 +572,9 @@
   std::vector<std::vector<Edge *>> 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:
 ///


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121293.414136.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220309/60fc27a0/attachment.bin>


More information about the llvm-commits mailing list