aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple-range-path.cc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2021-11-11 16:12:32 +0100
committerAldy Hernandez <aldyh@redhat.com>2021-11-11 22:13:17 +0100
commita7753db4a7c071fef7a4e7fe2650d6c59cc34066 (patch)
treed2b37dbb84682571cca65114fea68eacf267155a /gcc/gimple-range-path.cc
parent8a8458ac6bbc4263dd2c1ee55979b29fc7195794 (diff)
downloadgcc-a7753db4a7c071fef7a4e7fe2650d6c59cc34066.zip
gcc-a7753db4a7c071fef7a4e7fe2650d6c59cc34066.tar.gz
gcc-a7753db4a7c071fef7a4e7fe2650d6c59cc34066.tar.bz2
Remove loop crossing restriction from the backward threader.
We have much more thorough restrictions, that are shared between both threader implementations, in the registry. I've been meaning to remove the backward threader one, since it's only purpose was reducing the search space. Previously there was a small time penalty for its removal, but with the various patches in the past month, it looks like the removal is a wash performance wise. This catches 8 more jump threads in the backward threader in my suite. Presumably, because we disallowed all loop crossing, whereas the registry restrictions allow some crossing (if we exit the loop, etc). Tested on x86-64 Linux. gcc/ChangeLog: * tree-ssa-threadbackward.c (back_threader_profitability::profitable_path_p): Remove loop crossing restriction.
Diffstat (limited to 'gcc/gimple-range-path.cc')
0 files changed, 0 insertions, 0 deletions