[llvm] r373142 - [TimeProfiler] Fix "OptModule" section and add new "Backend" sections
Anton Afanasyev via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 28 00:14:12 PDT 2019
Author: anton-afanasyev
Date: Sat Sep 28 00:14:12 2019
New Revision: 373142
URL: http://llvm.org/viewvc/llvm-project?rev=373142&view=rev
Log:
[TimeProfiler] Fix "OptModule" section and add new "Backend" sections
Remove unnecessary "OptModule" section. Add "PerFunctionPasses",
"PerModulePasses" and "CodeGenPasses" sections under "Backend" section.
Modified:
llvm/trunk/lib/IR/LegacyPassManager.cpp
Modified: llvm/trunk/lib/IR/LegacyPassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LegacyPassManager.cpp?rev=373142&r1=373141&r2=373142&view=diff
==============================================================================
--- llvm/trunk/lib/IR/LegacyPassManager.cpp (original)
+++ llvm/trunk/lib/IR/LegacyPassManager.cpp Sat Sep 28 00:14:12 2019
@@ -1680,7 +1680,6 @@ bool FPPassManager::runOnFunction(Functi
bool FPPassManager::runOnModule(Module &M) {
bool Changed = false;
- llvm::TimeTraceScope TimeScope("OptModule", M.getName());
for (Function &F : M)
Changed |= runOnFunction(F);
More information about the llvm-commits
mailing list