diff options
author | Richard Biener <rguenther@suse.de> | 2020-10-20 13:15:45 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2020-10-20 14:21:01 +0200 |
commit | 06729598b0dc10dbe60545f21c2214ad66a5a3db (patch) | |
tree | 71ae624c85726b68eb0612d859402931906cc7b1 /libcpp/macro.c | |
parent | 1bfc07d150790fae93184a79a7cce897655cb37b (diff) | |
download | gcc-06729598b0dc10dbe60545f21c2214ad66a5a3db.zip gcc-06729598b0dc10dbe60545f21c2214ad66a5a3db.tar.gz gcc-06729598b0dc10dbe60545f21c2214ad66a5a3db.tar.bz2 |
Fix latch PHI arg lookup in vectorizable_reduction for double-reduction
We were using the wrong loop to figure the latch arg of a
double-reduction PHI. Which isn't a problem in case ->dest_idx
match up with the outer loop edges - but that's of course not guaranteed.
2020-10-20 Richard Biener <rguenther@suse.de>
* tree-vect-loop.c (vectorizable_reduction): Use the correct
loops latch edge for the PHI arg lookup.
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions