[PATCH] D22261: [InlineCost] Set minsize inline threshold to 0
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 12 05:50:16 PDT 2016
jmolloy added a comment.
Hi,
I re-ran testing, again using test-suite -Oz, but this time targetting T32 (thumb mode 32-bit). This time I do get differences:
Trunk -Oz: find . -name '*.o' | xargs size | awk '{sum+=$1} END {print sum}'
10080358
Trunk -Oz -mllvm -inline-threshold=0: find . -name '*.o' | xargs size | awk '{sum+=$1} END {print sum}'
7722119
For completeness, I also tried this with Clang-3.7:
3.7 -Oz: 6919363
3.7 -Oz -mllvm inline-threshold=0: 7820357
So 3.7 -Oz was a lot better than trunk -Oz and there were indeed regressions when setting the threshold to 0. But now we've bloated a lot and we get improvements.
James
Repository:
rL LLVM
http://reviews.llvm.org/D22261
More information about the llvm-commits
mailing list