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([&]() { _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits