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

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 9 10:02:11 PST 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG851332a1f20b: Fix linking error, undefined class static constants. (authored by Benoit, committed by hoy).

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.414138.patch
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220309/4a45e851/attachment.bin>


More information about the llvm-commits mailing list