[llvm] 660ff65 - Fix buildbreak introduced in ed2deab5956fea9e8f64ef6020fe0b4e19734ecc
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 2 07:35:34 PST 2022
Author: Mircea Trofin
Date: 2022-02-02T07:34:51-08:00
New Revision: 660ff655c82b12aa049609b962b9885b29cd9749
URL: https://github.com/llvm/llvm-project/commit/660ff655c82b12aa049609b962b9885b29cd9749
DIFF: https://github.com/llvm/llvm-project/commit/660ff655c82b12aa049609b962b9885b29cd9749.diff
LOG: Fix buildbreak introduced in ed2deab5956fea9e8f64ef6020fe0b4e19734ecc
Added:
Modified:
llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp b/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
index bc1112b63ca1..d48c0fd1673c 100644
--- a/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
+++ b/llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
@@ -58,10 +58,10 @@ static cl::opt<std::string> ModelUnderTraining(
"regalloc-model", cl::Hidden,
cl::desc("The model being trained for register allocation eviction"));
-extern cl::opt<unsigned> EvictInterferenceCutoff;
-
#endif // #ifdef LLVM_HAVE_TF_API
+extern cl::opt<unsigned> EvictInterferenceCutoff;
+
/// The score injection pass.
/// This pass calculates the score for a function and inserts it in the log, but
/// this happens only in development mode. It's a no-op otherwise.
More information about the llvm-commits
mailing list