aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorJeevitha <jeevitha@linux.ibm.com>2024-03-07 07:41:38 -0600
committerJeevitha <jeevitha@linux.ibm.com>2024-03-07 08:15:20 -0600
commitfa0468877869f52b05742de6deef582e4dd296fc (patch)
tree5ade9877d68e1de346f6d5c16e7e4b3df51e1264 /gcc/c
parente71a4e81729516eed8782a255ff37617e6fd4b69 (diff)
downloadgcc-fa0468877869f52b05742de6deef582e4dd296fc.zip
gcc-fa0468877869f52b05742de6deef582e4dd296fc.tar.gz
gcc-fa0468877869f52b05742de6deef582e4dd296fc.tar.bz2
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 <jeevitha@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.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions