aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-01-10 12:30:29 +0100
committerRichard Biener <rguenth@gcc.gnu.org>2025-01-10 15:41:53 +0100
commit03faac507913803de76eab04fd74e754c70aa8c4 (patch)
treea56663ced3d3814088109dc2af867c2b2d85b5ba /gcc/tree-vectorizer.h
parentd64447946b0c8964dfd9731c3792af0fe4158cda (diff)
downloadgcc-03faac507913803de76eab04fd74e754c70aa8c4.zip
gcc-03faac507913803de76eab04fd74e754c70aa8c4.tar.gz
gcc-03faac507913803de76eab04fd74e754c70aa8c4.tar.bz2
rtl-optimization/117467 - limit ext-dce memory use
The following puts in a hard limit on ext-dce because it might end up requiring memory on the order of the number of basic blocks times the number of pseudo registers. The limiting follows what GCSE based passes do and thus I re-use --param max-gcse-memory here. This doesn't in any way address the implementation issues of the pass, but it reduces the memory-use when compiling the module_first_rk_step_part1.F90 TU from 521.wrf_r from 25GB to 1GB. PR rtl-optimization/117467 PR rtl-optimization/117934 * ext-dce.cc (ext_dce_execute): Do nothing if a memory allocation estimate exceeds what is allowed by --param max-gcse-memory.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions