diff options
author | Richard Biener <rguenther@suse.de> | 2022-02-14 10:09:10 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-02-14 11:26:06 +0100 |
commit | f320197c8b495324dc6997a99d53e7f45ecf5840 (patch) | |
tree | 520a43c5efe17bd98d836927ffa293b93aa1ca08 /gcc/gimple-loop-jam.cc | |
parent | f7e26913187ce0ed35e340c4fd14104bbcd1932e (diff) | |
download | gcc-f320197c8b495324dc6997a99d53e7f45ecf5840.zip gcc-f320197c8b495324dc6997a99d53e7f45ecf5840.tar.gz gcc-f320197c8b495324dc6997a99d53e7f45ecf5840.tar.bz2 |
tree-optimization/104511 - avoid FP to DFP conversion for VEC_PACK_TRUNC
This avoids forwprop from matching DFP <-> FP vector conversions
using VEC_[UN]PACK{_TRUNC,_LO,_HI}. Maybe DFP vectors shouldn't be
a thing, but they appearantly are. Re-using CONVERT/NOP_EXPR for
DFP <-> FP conversions was probably a mistake.
2022-02-14 Richard Biener <rguenther@suse.de>
PR tree-optimization/104511
* tree-ssa-forwprop.cc (simplify_vector_constructor): Avoid
touching DFP <-> FP conversions.
* gcc.dg/pr104511.c: New testcase.
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions