diff options
author | Jan Hubicka <hubicka@ucw.cz> | 2025-07-03 12:00:05 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@ucw.cz> | 2025-07-03 12:00:05 +0200 |
commit | d52b0327a17f5ed12038bd83002627aac5b4b944 (patch) | |
tree | 07da8675bc6704fad3454f7833e8d8e65db280db /libcpp/include/cpplib.h | |
parent | a52484f1ac34dbb604dc862407d9abb32df444dd (diff) | |
download | gcc-d52b0327a17f5ed12038bd83002627aac5b4b944.zip gcc-d52b0327a17f5ed12038bd83002627aac5b4b944.tar.gz gcc-d52b0327a17f5ed12038bd83002627aac5b4b944.tar.bz2 |
Make inliner loop hints more agressive
This patch makes loop inline hints more agressive. If we know iteration
count or stride, we currently assume improvement in time relative to
preheader count. I changed it to header count, since this knowledge
is supposed to likely help unrolling and vectorizing which brings
benefits relative to that.
* ipa-fnsummary.cc (analyze_function_body): For loop
heuristics use header count instead of preheader count.
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions