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

--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Richard Biener <rgue...@gcc.gnu.org>:

https://gcc.gnu.org/g:3d4bfd43059c3a92b9608d3d17f8c045a58edda1

commit r15-8918-g3d4bfd43059c3a92b9608d3d17f8c045a58edda1
Author: Richard Biener <rguent...@suse.de>
Date:   Tue Mar 25 13:45:36 2025 +0100

    middle-end/118795 - fix can_vec_perm_const_p query in match.pd

    When expanding to RTL we always use vec_perm_indices with two operands
    which can make a difference with respect to supported vs. unsupported.
    So the following adjusts a query in match.pd for target support which
    got this "wrong" and using 1 for a equal operand permute.

            PR middle-end/118795
            * match.pd (vec_perm <vec_perm <a, b>> -> vec_perm <a, b>):
            Use the appropriate check to see whether the original
            outer permute was supported.

            * g++.dg/torture/pr118795.C: New testcase.
  • [Bug middle-end/118795] [15 Reg... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to