[PATCH] D18487: [ThinLTO] Add optional import message and statistics
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 25 19:43:34 PDT 2016
tejohnson created this revision.
tejohnson added a reviewer: joker.eph.
tejohnson added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.
Add a statistic to count the number of imported functions. Also, add a
new -print-imports option to emit a trace of imported functions, that
works even for an NDEBUG build.
Note that emitOptimizationRemark does not work for the above printing as
it expects a Function object and DebugLoc, neither of which we will have
particularly when we move to summary-based importing.
http://reviews.llvm.org/D18487
Files:
lib/Transforms/IPO/FunctionImport.cpp
test/Transforms/FunctionImport/funcimport.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18487.51706.patch
Type: text/x-patch
Size: 4871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160326/7a3e5869/attachment.bin>
More information about the llvm-commits
mailing list