]> git.ipfire.org Git - thirdparty/gcc.git/commit
middle-end: guard slp-11b.c testcase on vec_lanes
authorTamar Christina <tamar.christina@arm.com>
Thu, 5 Nov 2020 16:59:30 +0000 (16:59 +0000)
committerTamar Christina <tamar.christina@arm.com>
Thu, 5 Nov 2020 17:02:19 +0000 (17:02 +0000)
commit9f87fcf3034d0e774c4dee380f9113d1453e0e72
tree9fafdec3ccf7005246acc7b19eaabc8f04c49f6c
parent4ef0f1e90f1795b1f2d5bba05ed299e8c7635fd4
middle-end: guard slp-11b.c testcase on vec_lanes

They say third time is the charm.. It looks like the testcase
disables the cost model and so AArch64 we end up being able to
do the permute but on x86 we can't.  However when analyzing the
testcase I didn't disable the cost model hence the difference.

So I now guard the testcase on vect_load_lanes as there's not a
"can do any permute" test directive and load lanes is what I will
be fixing up next year so this should catch it.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/slp-11b.c: Guard statements.
gcc/testsuite/gcc.dg/vect/slp-11b.c