[PATCH] D32803: [LTO] Print time-passes information at conclusion of LTO codegen

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 11 10:39:50 PDT 2017


mehdi_amini added inline comments.


================
Comment at: include/llvm/IR/LegacyPassManager.h:101
 
+void reportTimings();
 } // End llvm namespace
----------------
Doxygen 

Also the name does not carry the fact that timers are reset.


================
Comment at: lib/IR/LegacyPassManager.cpp:15
 #include "llvm/IR/LegacyPassManager.h"
+#include "llvm/ADT/Statistic.h"
 #include "llvm/IR/IRPrintingPasses.h"
----------------
Why this?


https://reviews.llvm.org/D32803





More information about the llvm-commits mailing list