diff options
author | Andrew Pinski <andrew.pinski@oss.qualcomm.com> | 2025-09-06 04:04:37 -0700 |
---|---|---|
committer | Andrew Pinski <andrew.pinski@oss.qualcomm.com> | 2025-09-06 13:19:57 -0700 |
commit | 8d381528c7894702d5000aa89c3da63833d4b3f5 (patch) | |
tree | b4edd8804860ebca13c544ebef0bbc4d1ca1f51a /libjava/classpath | |
parent | ffc25308acf736db769e980c3b1ba2f6f9148b2a (diff) | |
download | gcc-8d381528c7894702d5000aa89c3da63833d4b3f5.zip gcc-8d381528c7894702d5000aa89c3da63833d4b3f5.tar.gz gcc-8d381528c7894702d5000aa89c3da63833d4b3f5.tar.bz2 |
forwprop: Factor out the memcpy followed by memset optimization
As simplify_builtin_call adds more and more optimization, it is
getting bigger and bigger and easier to misunderstand, so this
factors out the memcpy followed by memset optimization (which
was the original optimization added).
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* tree-ssa-forwprop.cc (simplify_builtin_call): Factor out
the memcpy followed by a memset optimization to ...
(simplify_builtin_memcpy_memset): Here. New function.
Signed-off-by: Andrew Pinski <andrew.pinski@oss.qualcomm.com>
Diffstat (limited to 'libjava/classpath')
0 files changed, 0 insertions, 0 deletions