diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-01-07 18:53:44 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-01-07 18:53:44 +0000 |
commit | cc770199ded4655756eb98399f6d26f5a0c55f29 (patch) | |
tree | 090efe1f6a373e86577ea4af3e3a903729327a64 /gcc/fortran/simplify.c | |
parent | 08c35030c7ece1f7034d9bf7b6d3e94138ad3c68 (diff) | |
download | gcc-cc770199ded4655756eb98399f6d26f5a0c55f29.zip gcc-cc770199ded4655756eb98399f6d26f5a0c55f29.tar.gz gcc-cc770199ded4655756eb98399f6d26f5a0c55f29.tar.bz2 |
Fix IFN_MASK_STORE handling of IFN_GOMP_SIMD_LANE
The IFN_GOMP_SIMD_LANE handling in vectorizable_store tries to use MEM_REF
offsets to maintain pointer disambiguation info. This patch makes sure
that we don't try to do the same optimisation for IFN_MASK_STOREs, which
have no similar offset argument.
The patch fixes libgomp.c-c++-common/pr66199-*.c for SVE. Previously
we had an ncopies==2 store and stored both halves to the same address.
2019-01-07 Richard Sandiford <richard.sandiford@arm.com>
gcc/
* tree-vect-stmts.c (vectorizable_store): Don't use the dataref_offset
optimization for masked stores.
From-SVN: r267654
Diffstat (limited to 'gcc/fortran/simplify.c')
0 files changed, 0 insertions, 0 deletions