aboutsummaryrefslogtreecommitdiff
path: root/libcpp/include/cpplib.h
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2025-07-03 12:00:05 +0200
committerJan Hubicka <hubicka@ucw.cz>2025-07-03 12:00:05 +0200
commitd52b0327a17f5ed12038bd83002627aac5b4b944 (patch)
tree07da8675bc6704fad3454f7833e8d8e65db280db /libcpp/include/cpplib.h
parenta52484f1ac34dbb604dc862407d9abb32df444dd (diff)
downloadgcc-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