diff options
author | Christoph Müllner <christoph.muellner@vrull.eu> | 2024-05-15 12:19:40 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-05-15 15:14:24 -0600 |
commit | 1fbbae1d4ba3618a3da829a6d7e11a1606a583b3 (patch) | |
tree | c173fc77f87610ce6d8aaea1a5ca48546af884c8 /gcc/common | |
parent | 4bf1aa1ab90dd487fadc27c86523ec3562b2d2fe (diff) | |
download | gcc-1fbbae1d4ba3618a3da829a6d7e11a1606a583b3.zip gcc-1fbbae1d4ba3618a3da829a6d7e11a1606a583b3.tar.gz gcc-1fbbae1d4ba3618a3da829a6d7e11a1606a583b3.tar.bz2 |
[v2,2/2] RISC-V: strcmp expansion: Use adjust_address() for address calculation
We have an arch-independent routine to generate an address with an offset.
Let's use that instead of doing the calculation in the backend.
gcc/ChangeLog:
* config/riscv/riscv-string.cc (emit_strcmp_scalar_load_and_compare):
Use adjust_address() to calculate MEM-PLUS pattern.
Diffstat (limited to 'gcc/common')
0 files changed, 0 insertions, 0 deletions