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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-14 branch has been updated by Alice Carlotti
<[email protected]>:

https://gcc.gnu.org/g:27fb614a0f31eb0432e7b5d7e6554b7dd82ec860

commit r14-12969-g27fb614a0f31eb0432e7b5d7e6554b7dd82ec860
Author: Julio Sotoriva De Bastiani <[email protected]>
Date:   Tue Sep 1 10:22:05 2026 +0000

    aarch64: Fix folding for svwhilel*_c* builtins [PR126096]

    This fixes an ICE that occurred when trying to fold svwhilelt and
    svwhilele predicate-as-counter builtins as if they were
    predicate-as-mask builtins.

    gcc/ChangeLog:

            PR target/126096
            * config/aarch64/aarch64-sve-builtins.cc
            (gimple_folder::fold_to_pfalse): Punt for svcount_t.
            * config/aarch64/aarch64-sve-builtins-base.cc
            (svpfalse_impl::fold): Defer svcount_t check.
            (svwhilelx_impl::fold_type): Punt for svcount_t.

Reply via email to