aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/decl.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-05-15 13:13:38 +0200
committerRichard Biener <rguenther@suse.de>2020-05-18 15:31:05 +0200
commitcfaf0edbb123958e84d296354152294f167db9f3 (patch)
treefda9e5aea4a7ba8d81847189bc58c78362279810 /gcc/fortran/decl.c
parentd83e28f47f5467b435667122add2aa9730e1a89b (diff)
downloadgcc-cfaf0edbb123958e84d296354152294f167db9f3.zip
gcc-cfaf0edbb123958e84d296354152294f167db9f3.tar.gz
gcc-cfaf0edbb123958e84d296354152294f167db9f3.tar.bz2
fixup BB vectorization constant generation place
This adjusts the way we compute the stmt insert location for invariants in BB vectorization context to deal with eventually sharing invariant SLP nodes for multiple uses. We can no longer use a single use stmt location then but there's a simple way out. 2020-05-18 Richard Biener <rguenther@suse.de> * tree-vect-slp.c (vect_slp_bb): Start after labels. (vect_get_constant_vectors): Really place init stmt after scalar defs. * tree-vect-stmts.c (vect_init_vector_1): Insert before region begin.
Diffstat (limited to 'gcc/fortran/decl.c')
0 files changed, 0 insertions, 0 deletions