middle-end: Exclude TOP permute from blend considerations
authorTamar Christina <tamar.christina@arm.com>
Mon, 14 Dec 2020 15:20:05 +0000 (15:20 +0000)
committerTamar Christina <tamar.christina@arm.com>
Mon, 14 Dec 2020 15:20:11 +0000 (15:20 +0000)
commit159b0bd9ce263dfb791eff5133b0ca0207201c84
treeb001f9064efae2eb5665b19470366439076c9669
parent470a25b638fedcaa37ce0c4101f11b87e1fa7d79
middle-end: Exclude TOP permute from blend considerations

Similarly to UNKNOWN permutes, TOP needs to be excluded from being considered
for blends because it produces no permute to check.

gcc/ChangeLog:

PR middle-end/98264
* tree-vect-slp-patterns.c (linear_loads_p): Exclude TOP permute.

gcc/testsuite/ChangeLog:

PR middle-end/98264
* gcc.target/i386/pr98264.c: New test.
gcc/testsuite/gcc.target/i386/pr98264.c [new file with mode: 0644]
gcc/tree-vect-slp-patterns.c