aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-threadupdate.c
diff options
context:
space:
mode:
authorJoel Hutton <joel.hutton@arm.com>2020-09-30 15:08:13 +0100
committerJoel Hutton <joel.hutton@arm.com>2020-09-30 15:16:29 +0100
commit97b798d80baf945ea28236eef3fa69f36626b579 (patch)
tree6e1f24cccbeeb478f55aeda3f0cacc408d56a60b /gcc/tree-ssa-threadupdate.c
parentaa248b8db9a7594fcc84e52a84d56526d4284ca8 (diff)
downloadgcc-97b798d80baf945ea28236eef3fa69f36626b579.zip
gcc-97b798d80baf945ea28236eef3fa69f36626b579.tar.gz
gcc-97b798d80baf945ea28236eef3fa69f36626b579.tar.bz2
[SLP][VECT] Add check to fix 96837
The following patch adds a simple check to prevent slp stmts from vector constructors being rearranged. vect_attempt_slp_rearrange_stmts tries to rearrange to avoid a load permutation. This fixes PR target/96837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96827 gcc/ChangeLog: 2020-09-29 Joel Hutton <joel.hutton@arm.com> PR target/96837 * tree-vect-slp.c (vect_analyze_slp): Do not call vect_attempt_slp_rearrange_stmts for vector constructors. gcc/testsuite/ChangeLog: 2020-09-29 Joel Hutton <joel.hutton@arm.com> PR target/96837 * gcc.dg/vect/bb-slp-49.c: New test.
Diffstat (limited to 'gcc/tree-ssa-threadupdate.c')
0 files changed, 0 insertions, 0 deletions