diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-05-21 05:16:20 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-05-21 07:27:37 -0700 |
commit | 53fb833d635da04f5b44af16bcea1082e7b59e75 (patch) | |
tree | 6166e9128634ef8eb9e93e10f6e77b405d0c2921 /gcc/objc | |
parent | 5d42db533324e80a7382b20b94cace5b202d41ea (diff) | |
download | gcc-53fb833d635da04f5b44af16bcea1082e7b59e75.zip gcc-53fb833d635da04f5b44af16bcea1082e7b59e75.tar.gz gcc-53fb833d635da04f5b44af16bcea1082e7b59e75.tar.bz2 |
Elide expand_constructor if move by pieces is preferred
Elide expand_constructor when the constructor is static storage and not
mostly zeros and we can move it by pieces prefer to do so since that's
usually more efficient than performing a series of stores from immediates.
2021-05-21 Richard Biener <rguenther@suse.de>
H.J. Lu <hjl.tools@gmail.com>
gcc/
PR middle-end/90773
* expr.c (expand_constructor): Elide expand_constructor if
move by pieces is preferred.
gcc/testsuite/
* gcc.target/i386/pr90773-24.c: New test.
* gcc.target/i386/pr90773-25.c: Likewise.
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions