[committed][PATCH] middle-end: guard slp-11b.c testcase on vec_lanes

Tamar Christina tamar.christina@arm.com
Thu Nov 5 17:01:46 GMT 2020


Hi All,

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.

Regtested on aarch64-none-linux-gnu, x86_64-pc-linux-gnu (through the test harness) and no issues.

Committed under the obvious rule...

Thanks,
Tamar

gcc/testsuite/ChangeLog:

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

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rb13731.patch
Type: text/x-diff
Size: 868 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20201105/6c8f7066/attachment-0001.bin>


More information about the Gcc-patches mailing list