diff options
author | Richard Biener <rguenther@suse.de> | 2021-10-12 13:42:08 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-10-12 14:49:44 +0200 |
commit | 9f12a45ef147e563f099c24c293830727e8204cc (patch) | |
tree | 0180467afd7a85963a2a9889f0e72b35a6c9b1bf /libgomp/target.c | |
parent | e36206c9940d224637083f2e91bd4c70f4b7dd20 (diff) | |
download | gcc-9f12a45ef147e563f099c24c293830727e8204cc.zip gcc-9f12a45ef147e563f099c24c293830727e8204cc.tar.gz gcc-9f12a45ef147e563f099c24c293830727e8204cc.tar.bz2 |
tree-optimization/102572 - fix gathers with invariant mask
This fixes the vector def gathering for invariant masks which
failed to pass in the desired vector type resulting in a non-mask
type to be generate.
2021-10-12 Richard Biener <rguenther@suse.de>
PR tree-optimization/102572
* tree-vect-stmts.c (vect_build_gather_load_calls): When
gathering the vectorized defs for the mask pass in the
desired mask vector type so invariants will be handled
correctly.
* g++.dg/vect/pr102572.cc: New testcase.
Diffstat (limited to 'libgomp/target.c')
0 files changed, 0 insertions, 0 deletions