aboutsummaryrefslogtreecommitdiff
path: root/gcc/ggc-common.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2021-08-17 15:50:31 +0200
committerRichard Biener <rguenther@suse.de>2021-08-17 18:54:24 +0200
commite7e17be3be3d43640a9a4a33d59315dec69fdda4 (patch)
tree1200fa8df167b20f99c29bbf2a69f7dadbb63181 /gcc/ggc-common.c
parent817766f4dd2f6f3fdea2c4e6e22358b0b6b06d0d (diff)
downloadgcc-e7e17be3be3d43640a9a4a33d59315dec69fdda4.zip
gcc-e7e17be3be3d43640a9a4a33d59315dec69fdda4.tar.gz
gcc-e7e17be3be3d43640a9a4a33d59315dec69fdda4.tar.bz2
Fall back to masked_gather_load/masked_scatter_store
This adds a fallback to the masked_ variants for gather_load and scatter_store if the latter are not available. 2021-08-17 Richard Biener <rguenther@suse.de> * optabs-query.c (supports_vec_gather_load_p): Also check for masked optabs. (supports_vec_scatter_store_p): Likewise. * tree-vect-data-refs.c (vect_gather_scatter_fn_p): Fall back to masked variants if non-masked are not supported. * tree-vect-patterns.c (vect_recog_gather_scatter_pattern): When we need to use masked gather/scatter but do not have a mask set up a constant true one. * tree-vect-stmts.c (vect_check_scalar_mask): Also allow non-SSA_NAME masks.
Diffstat (limited to 'gcc/ggc-common.c')
0 files changed, 0 insertions, 0 deletions