[PATCH] D51467: Output per-function size-info remarks
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 30 14:16:31 PDT 2018
paquette added a comment.
I ran this with a debug build, and I noticed it's pretty heavy wrt compile time. I'm working on fixing that before committing.
Also, @anemet asked me offline to provide some opt-stats output. Here's that for sqlite3 at -O2 + size remarks:
Total number of remarks 56884
Top 10 remarks by pass:
gvn 56%
licm 21%
inline 15%
loop-vectorize 4%
slp-vectorizer 2%
prologepilog 1%
asm-printer 1%
regalloc 0%
loop-unroll 0%
tailcallelim 0%
Top 10 remarks:
gvn/LoadClobbered 54%
licm/InstSunk 14%
inline/Inlined 7%
inline/TooCostly 5%
licm/LoadWithLoopInvariantAddressInvalidated 4%
licm/Hoisted 3%
inline/NeverInline 2%
loop-vectorize/MissedDetails 1%
loop-vectorize/CFGNotUnderstood 1%
slp-vectorizer/NotPossible 1%
https://reviews.llvm.org/D51467
More information about the llvm-commits
mailing list