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

--- Comment #6 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by jeevitha <jeevi...@gcc.gnu.org>:

https://gcc.gnu.org/g:1b91818e47119863f827b19ae4c6c91af3962cd6

commit r12-10406-g1b91818e47119863f827b19ae4c6c91af3962cd6
Author: Jeevitha <jeevi...@linux.ibm.com>
Date:   Sun Apr 28 23:38:41 2024 -0500

    rs6000: Don't ICE when compiling the __builtin_vsx_splat_2di [PR113950]

    When we expand the __builtin_vsx_splat_2di built-in, we were allowing
immediate
    value for second operand which causes an unrecognizable insn ICE. Even
though
    the immediate value was forced into a register, it wasn't correctly
assigned
    to the second operand. So corrected the assignment of op1 to operands[1].

    2024-03-07  Jeevitha Palanisamy  <jeevi...@linux.ibm.com>

    gcc/
            PR target/113950
            * config/rs6000/vsx.md (vsx_splat_<mode>): Correct assignment to
operand1
            and simplify else if with else.

    gcc/testsuite/
            PR target/113950
            * gcc.target/powerpc/pr113950.c: New testcase.

    (cherry picked from commit fa0468877869f52b05742de6deef582e4dd296fc)

Reply via email to