[llvm] cdfb512 - [MLGO] Remove -tfutils-use-simplelogger flag (#72492)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Nov 16 12:50:49 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-commits
mailing list