]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/115508 - fix ICE with SLP scheduling and extern vector
authorRichard Biener <rguenther@suse.de>
Mon, 17 Jun 2024 12:36:56 +0000 (14:36 +0200)
committerRichard Biener <rguenther@suse.de>
Mon, 17 Jun 2024 12:39:30 +0000 (14:39 +0200)
commit65e72b95c63a5501cf1482f3814ae8c8e672bf06
treee1810710b38c8697b31c3bab67bf70dabac9e716
parent95bfc6abf378a32e502dca0e2938f94d5b0ab094
tree-optimization/115508 - fix ICE with SLP scheduling and extern vector

When there's a permute after an extern vector we can run into a case
that didn't consider the scheduled node being a permute which lacks
a representative.

PR tree-optimization/115508
* tree-vect-slp.cc (vect_schedule_slp_node): Guard check on
representative.

* gcc.target/i386/pr115508.c: New testcase.
gcc/testsuite/gcc.target/i386/pr115508.c [new file with mode: 0644]
gcc/tree-vect-slp.cc
This page took 0.065737 seconds and 5 git commands to generate.