mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
[TimeProfiler] Fix "OptModule" section and add new "Backend" sections
Remove unnecessary "OptModule" section. Add "PerFunctionPasses", "PerModulePasses" and "CodeGenPasses" sections under "Backend" section. llvm-svn: 373142
This commit is contained in:
parent
bcfd2edd61
commit
d113fba9a5
@ -1680,7 +1680,6 @@ bool FPPassManager::runOnFunction(Function &F) {
|
||||
bool FPPassManager::runOnModule(Module &M) {
|
||||
bool Changed = false;
|
||||
|
||||
llvm::TimeTraceScope TimeScope("OptModule", M.getName());
|
||||
for (Function &F : M)
|
||||
Changed |= runOnFunction(F);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user