aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2023-06-09 09:29:09 +0200
committerRichard Biener <rguenther@suse.de>2023-06-09 11:07:08 +0200
commit3e12669a0eb968cfcbe9242b382fd8020935edf8 (patch)
treec0aaf7ed70da0066ef3e904128513979f75c4274 /gcc/tree-vectorizer.h
parent3ec1d76a359542ed4c8370390efa9ee9e25e757f (diff)
downloadgcc-3e12669a0eb968cfcbe9242b382fd8020935edf8.zip
gcc-3e12669a0eb968cfcbe9242b382fd8020935edf8.tar.gz
gcc-3e12669a0eb968cfcbe9242b382fd8020935edf8.tar.bz2
middle-end/110182 - TYPE_PRECISION on VECTOR_TYPE causes wrong-code
When folding two conversions in a row we use TYPE_PRECISION but that's invalid for VECTOR_TYPE. The following fixes this by using element_precision instead. * match.pd (two conversions in a row): Use element_precision to DTRT for VECTOR_TYPE.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions