[llvm-branch-commits] [llvm] cdfb512 - [MLGO] Remove -tfutils-use-simplelogger flag (#72492)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Nov 17 03:47:19 PST 2023


Author: Aiden Grossman
Date: 2023-11-16T12:50:46-08:00
New Revision: cdfb51295d814a875925974364931ef4337641e1

URL: https://github.com/llvm/llvm-project/commit/cdfb51295d814a875925974364931ef4337641e1
DIFF: https://github.com/llvm/llvm-project/commit/cdfb51295d814a875925974364931ef4337641e1.diff

LOG: [MLGO] Remove -tfutils-use-simplelogger flag (#72492)

This flag was redundant and the value was not used anywhere, so it
should be removed.

Added: 
    

Modified: 
    llvm/lib/Analysis/TrainingLogger.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Analysis/TrainingLogger.cpp b/llvm/lib/Analysis/TrainingLogger.cpp
index e236890aa2bcc22..344ca92e18b5191 100644
--- a/llvm/lib/Analysis/TrainingLogger.cpp
+++ b/llvm/lib/Analysis/TrainingLogger.cpp
@@ -27,11 +27,6 @@
 
 using namespace llvm;
 
-// FIXME(mtrofin): remove the flag altogether
-static cl::opt<bool>
-    UseSimpleLogger("tfutils-use-simplelogger", cl::init(true), cl::Hidden,
-                    cl::desc("Output simple (non-protobuf) log."));
-
 void Logger::writeHeader(std::optional<TensorSpec> AdviceSpec) {
   json::OStream JOS(*OS);
   JOS.object([&]() {


        


More information about the llvm-branch-commits mailing list