forked from OSchip/llvm-project
fb02f7140a
Summary: This patch starts the implementation as discuss in the following RFC: http://lists.llvm.org/pipermail/llvm-dev/2016-October/106532.html When optimization duplicates code that will scale down the execution count of a basic block, we will record the duplication factor as part of discriminator so that the offline process tool can find the duplication factor and collect the accurate execution frequency of the corresponding source code. Two important optimization that fall into this category is loop vectorization and loop unroll. This patch records the duplication factor for these 2 optimizations. The recording will be guarded by a flag encode-duplication-in-discriminators, which is off by default. Reviewers: probinson, aprantl, davidxl, hfinkel, echristo Reviewed By: hfinkel Subscribers: mehdi_amini, anemet, mzolotukhin, llvm-commits Differential Revision: https://reviews.llvm.org/D26420 llvm-svn: 294782 |
||
---|---|---|
.. | ||
basic.ll | ||
call-nested.ll | ||
call.ll | ||
dbg-declare-discriminator.ll | ||
diamond.ll | ||
first-only.ll | ||
inlined.ll | ||
multiple.ll | ||
no-discriminators.ll | ||
oneline.ll |