[Bug tree-optimization/106378] Miss to handle ifn .LEN_STORE in DSE
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 21 11:06:58 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106378
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rguenth@gcc.gnu.org>:
https://gcc.gnu.org/g:dc477ffb4aba21e9cf47de22a4df6f2b23849505
commit r13-1778-gdc477ffb4aba21e9cf47de22a4df6f2b23849505
Author: Richard Biener <rguenther@suse.de>
Date: Thu Jul 21 10:13:46 2022 +0200
tree-optimization/106378 - DSE of LEN_STORE and MASK_STORE
The following enhances DSE to handle LEN_STORE (optimally) and
MASK_STORE (conservatively).
PR tree-optimization/106378
* tree-ssa-dse.cc (initialize_ao_ref_for_dse): Handle
LEN_STORE, add mode to initialize a may-def and handle
MASK_STORE that way.
(dse_optimize_stmt): Query may-defs. Handle internal
functions LEN_STORE and MASK_STORE similar to how
we handle memory builtins but without byte tracking.
More information about the Gcc-bugs
mailing list