diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-06 12:31:13 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-07 13:57:18 +0200 |
commit | 53f491ccd1e59fad77fb2cb30d1a58b9e5e5f63c (patch) | |
tree | 8ea90f0cd74585f7a0617f0fa6393e478d6603af /gcc/rust/util/rust-ggc.h | |
parent | eee51f9a4b6e584230f75e4616438bb5ad5935a9 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
The following handles value-numbering of a BIT_FIELD_REF of
a register that's defined by a load by looking up a subset
load similar to how we handle bit-and masked loads. This
allows the testcase to be simplified by two FRE passes,
the first one will create the BIT_FIELD_REF.
PR tree-optimization/121405
* tree-ssa-sccvn.cc (visit_nary_op): Handle BIT_FIELD_REF
with reference def by looking up a combination of both.
* gcc.dg/tree-ssa/ssa-fre-107.c: New testcase.
* gcc.target/i386/pr90579.c: Adjust.
Diffstat (limited to 'gcc/rust/util/rust-ggc.h')
0 files changed, 0 insertions, 0 deletions