diff options
author | Andrew Pinski <quic_apinski@quicinc.com> | 2025-02-05 14:44:25 -0800 |
---|---|---|
committer | Andrew Pinski <quic_apinski@quicinc.com> | 2025-04-25 21:09:27 -0700 |
commit | e6f89d78c1a7528e93458278e35d365544a18c26 (patch) | |
tree | e1d3bc3a0632172a6431fde98e9b27501eb30d0f /gcc/testsuite/c-c++-common/substring-location-PR-87562-1-a.h | |
parent | ed65ae6c9e7862c49554da54e90c8bb304748142 (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
This adds the simplification of a ZERO_EXTEND of an AND. This optimization
was already handled in combine via combine_simplify_rtx and the handling
there of compound_operations (ZERO_EXTRACT).
Build and tested for aarch64-linux-gnu.
Bootstrapped and tested on x86_64-linux-gnu.
gcc/ChangeLog:
* simplify-rtx.cc (simplify_context::simplify_unary_operation_1) <case ZERO_EXTEND>:
Add simplifcation for and with a constant.
Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
Diffstat (limited to 'gcc/testsuite/c-c++-common/substring-location-PR-87562-1-a.h')
0 files changed, 0 insertions, 0 deletions