On Wed, Nov 27, 2019 at 02:01:05PM +0800, Kewen.Lin wrote: > As Segher pointed out in PR92566, we shouldn't offer some vector modes which > aren't supported under current setting. This patch is to make it check by > VECTOR_UNIT_NONE_P which is initialized as current architecture masks. > > Bootstrapped and tested on powerpc64le-linux-gnu. > Is it ok for trunk?
Okay. Thanks! Segher > 2019-11-27 Kewen Lin <li...@gcc.gnu.org> > > PR tree-optimization/91790 > * gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Check by > VECTOR_UNIT_NONE_P instead.