diff options
author | Richard Biener <rguenther@suse.de> | 2021-09-15 10:20:34 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2021-09-15 11:13:21 +0200 |
commit | b6d8fa66e1bf08756cb4134735b5034e171f49d1 (patch) | |
tree | a3c40c775922f33cc28c3dafb3ffacb4b3fee4f7 /gcc/tree-vectorizer.h | |
parent | cc1e28878a228b6c4a0872e56d97ac88971b7725 (diff) | |
download | gcc-b6d8fa66e1bf08756cb4134735b5034e171f49d1.zip gcc-b6d8fa66e1bf08756cb4134735b5034e171f49d1.tar.gz gcc-b6d8fa66e1bf08756cb4134735b5034e171f49d1.tar.bz2 |
tree-optimization/102318 - reduction epilogue re-use
This refines the fix for PR102226 to do the mode conversion
from V2DI to VNx2DI separately from the sign-conversion, retaining
the signedness of the saved accumulator as before the original fix.
2021-09-15 Richard Biener <rguenther@suse.de>
PR tree-optimization/102318
* tree-vect-loop.c (vect_transform_cycle_phi): Revert
previous change and do the mode conversion separately from
the sign conversion.
* gcc.dg/vect/pr102318.c: New testcase.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions