aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/data.cc
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-08-24 13:46:12 +0200
committerRichard Biener <rguenther@suse.de>2023-08-24 14:42:19 +0200
commitd96659e34cdcf43640541e1b7401ac546e0d1bf5 (patch)
tree60db9a0e64c8d85b09fa8aa7e3b6866567737b65 /gcc/fortran/data.cc
parent3d2e240af7704b7c4fc15fb3c8b282556841108d (diff)
downloadgcc-d96659e34cdcf43640541e1b7401ac546e0d1bf5.zip
gcc-d96659e34cdcf43640541e1b7401ac546e0d1bf5.tar.gz
gcc-d96659e34cdcf43640541e1b7401ac546e0d1bf5.tar.bz2
Fix confusion about load_p in vect_build_slp_tree_1
load_p is set and used as to whether the stmt is a memory operation, not whether it is only a load. The following renames it to ldst_p to avoid this confusion. It also replaces checking for a VUSE with checking STMT_VINFO_DATA_REF since VUSE checking doesn't work for pattern matched stores where no virtual operands are present. Where we want to distinguish between loads and stores we then check DR_IS_READ/WRITE. I've made a classification mistake with .MASK_STORE support and this hits other complications when dealing with single-lane SLP. * tree-vect-slp.cc (vect_build_slp_tree_1): Rename load_p to ldst_p, fix mistakes and rely on STMT_VINFO_DATA_REF.
Diffstat (limited to 'gcc/fortran/data.cc')
0 files changed, 0 insertions, 0 deletions