https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104015
--- Comment #11 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to rsand...@gcc.gnu.org from comment #10) > Checking the number of tries might be useful, but if so, I think > it should be done by a test that was written for that specific > purpose. The tst can then be updated if the original way of checking > the number of tries no longer worked for some reason. The test > would likely be target-specific (since, for example, the expectations > are different for Power 9 and Power 10). > > But this test was added to test how the SLP permute code handled > groups of 3 elements. IMO that's the only thing that it should test. > Even the existing target selectors are so complicated as to be almost > incomprehensible. :-) Good point and idea! I just posted one patch https://gcc.gnu.org/pipermail/gcc-patches/2022-January/588658.html following this nice suggestion.