diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2024-08-26 07:33:38 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-09-25 14:23:15 +0200 |
commit | 9b7626383822799d60ea3c62e62e700f16337cd6 (patch) | |
tree | 1a4c27e7eb7b678db563d0b1b1d6597131018a36 /gcc/tree-vectorizer.h | |
parent | 63a598deb0c9fcb8704af6ef90f0b905942b0276 (diff) | |
download | gcc-9b7626383822799d60ea3c62e62e700f16337cd6.zip gcc-9b7626383822799d60ea3c62e62e700f16337cd6.tar.gz gcc-9b7626383822799d60ea3c62e62e700f16337cd6.tar.bz2 |
Remove recursion in simplify_control_stmt_condition_1 [PR114855].
Remove some ad-hoc simplification code in the forward threader, as the
call into the ranger in m_simplifier->simplify() will handle anything we
can do manually in simplify_control_stmt_condition_1.
In PR114855, DOM time is reduced from 120s to 92s (-23%) and overall
compilation time from 235s to 205s (-12%). The total thread count at -O1 is
unchanged for the testcase.
In our bootstrap .ii benchmark suite, I see we thread 3 threads less
over all files at -O1. At -O2, the backward threader picks up one more,
for no difference over all.
PR tree-optimization/114855
gcc/ChangeLog:
* tree-ssa-threadedge.cc: Remove unneeded recursion.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions