https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115921

--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jeff Law <l...@gcc.gnu.org>:

https://gcc.gnu.org/g:107d5d682576e54963ddd36f3f21bc6b9506d278

commit r15-6874-g107d5d682576e54963ddd36f3f21bc6b9506d278
Author: Xi Ruoyao <xry...@xry111.site>
Date:   Mon Jan 13 11:28:05 2025 -0700

    RISC-V: Improve bitwise and ashift reassociation for single-bit immediate
without zbs [PR 115921]

    When zbs is not available, there's nothing special with single-bit
    immediates and we should perform reassociation as normal immediates.

    gcc/ChangeLog:

            PR target/115921
            * config/riscv/riscv.md (<optab>_shift_reverse): Only check
            popcount_hwi if !TARGET_ZBS.

Reply via email to