]> gcc.gnu.org Git - gcc.git/commit
target/100784 - avoid ICE with folding __builtin_ia32_shufpd
authorRichard Biener <rguenther@suse.de>
Thu, 20 Jan 2022 13:34:33 +0000 (14:34 +0100)
committerRichard Biener <rguenther@suse.de>
Wed, 16 Mar 2022 08:29:45 +0000 (09:29 +0100)
commite0ae287e2c199a22d3f0c2de40a4869a44c8b795
tree03435015ac44c2ab3b6f6d4b54031170ef50548a
parentc5ac040e670aa325fe287bda9db5d7897a500557
target/100784 - avoid ICE with folding __builtin_ia32_shufpd

This avoids ICEing when there is no LHS on the call by following
what foldings of other builtins do in , namely not folding.

2022-01-20  Richard Biener  <rguenther@suse.de>

PR target/100784
* config/i386/i386.c (ix86_gimple_fold_builtin): Check for
LHS before folding __builtin_ia32_shufpd and friends.

(cherry picked from commit d63d9c3dd160dce24f0209f193b8e7388b19f712)
gcc/config/i386/i386.c
This page took 0.061528 seconds and 6 git commands to generate.