[PATCH] D29308: [PM] Hook the instrumented PGO machinery in the new PM

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 8 10:55:00 PST 2017


davide added a comment.

Your comments are reasonable, I'll address them soon. 
@davidxl, @rongxu, @eraman what's the rationale behind not running the pre-inliner and simplification passes when optimizing for size? 
My understanding is that we run them to cleanup and avoid putting "too many counters" (which would slow down the instrumentation) [classical example `operator +`].
Am I correct or is there any other reason?


https://reviews.llvm.org/D29308





More information about the llvm-commits mailing list