diff options
| author | Kewen Lin <linkw@gcc.gnu.org> | 2019-11-28 06:34:31 +0000 |
|---|---|---|
| committer | Kewen Lin <linkw@gcc.gnu.org> | 2019-11-28 06:34:31 +0000 |
| commit | 34b7ae1dd5f0c01036b2a9308baf15329280733e (patch) | |
| tree | 7334ed585a09e6f70e874513c99d7c48e3dcca74 /libgfortran | |
| parent | 9c9cb582fc11b0106be24a3d9f428558aeb7cf45 (diff) | |
| download | gcc-34b7ae1dd5f0c01036b2a9308baf15329280733e.zip gcc-34b7ae1dd5f0c01036b2a9308baf15329280733e.tar.gz gcc-34b7ae1dd5f0c01036b2a9308baf15329280733e.tar.bz2 | |
[rs6000] Fix PR92566 by checking VECTOR_UNIT_NONE_P
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.
2019-11-28 Kewen Lin <linkw@gcc.gnu.org>
PR target/92566
* gcc/config/rs6000/rs6000.c (rs6000_preferred_simd_mode): Check by
VECTOR_UNIT_NONE_P instead.
From-SVN: r278800
Diffstat (limited to 'libgfortran')
0 files changed, 0 insertions, 0 deletions
