aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/libgnat/s-imagew.adb
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-08-06 12:31:13 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-08-07 13:57:18 +0200
commit53f491ccd1e59fad77fb2cb30d1a58b9e5e5f63c (patch)
tree8ea90f0cd74585f7a0617f0fa6393e478d6603af /gcc/ada/libgnat/s-imagew.adb
parenteee51f9a4b6e584230f75e4616438bb5ad5935a9 (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
tree-optimization/121405 - missed VN with aggregate copyHEADtrunkmaster
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/ada/libgnat/s-imagew.adb')
0 files changed, 0 insertions, 0 deletions