aboutsummaryrefslogtreecommitdiff
path: root/libcpp/directives.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-03-07 11:04:55 +0100
committerRichard Biener <rguenther@suse.de>2023-03-13 08:43:36 +0100
commiteb337d28c32b1b460cc85b3c00f8418ca535c77b (patch)
treea38b73b69ffe7491022a0bd018213eee91b7fd8e /libcpp/directives.cc
parent44ea73185a84fd42e86c4c823043f6063576aac5 (diff)
downloadgcc-eb337d28c32b1b460cc85b3c00f8418ca535c77b.zip
gcc-eb337d28c32b1b460cc85b3c00f8418ca535c77b.tar.gz
gcc-eb337d28c32b1b460cc85b3c00f8418ca535c77b.tar.bz2
tree-optimization/109046 - re-combine complex loads
The following addresses PR109046 by adding an optimization to forwprop to combine a piecewise complex load to a complex load when there are no other uses of the components. That's something useful in general and easier to do than avoiding the splitting in complex lowering. The testcase exercises both the manual and the complex lowering case. PR tree-optimization/109046 * tree-ssa-forwprop.cc (pass_forwprop::execute): Combine piecewise complex loads. * gcc.dg/tree-ssa/forwprop-39.c: New testcase.
Diffstat (limited to 'libcpp/directives.cc')
0 files changed, 0 insertions, 0 deletions