diff options
author | Richard Biener <rguenther@suse.de> | 2023-06-13 09:19:34 +0200 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2023-06-13 10:40:25 +0200 |
commit | 0f3d07e16fec7bea2fd033d9ec8ff08ea7effa39 (patch) | |
tree | 394b84f41b2f3357192f2f88533dfd7ab9ea87d9 /gcc/range-op-float.cc | |
parent | 1c3661e224e3ddfc6f773b095740c0f5a7ddf5fc (diff) | |
download | gcc-0f3d07e16fec7bea2fd033d9ec8ff08ea7effa39.zip gcc-0f3d07e16fec7bea2fd033d9ec8ff08ea7effa39.tar.gz gcc-0f3d07e16fec7bea2fd033d9ec8ff08ea7effa39.tar.bz2 |
middle-end/110232 - fix native interpret of vector <signed-boolean:1>
The following fixes native interpretation of a buffer as boolean
vector with bit-precision elements such as AVX512 vectors. The
check whether the buffer covers the whole vector was broken for
bit-precision elements and the following instead implements it
based on the vector type size.
PR middle-end/110232
* fold-const.cc (native_interpret_vector): Use TYPE_SIZE_UNIT
to check whether the buffer covers the whole vector.
* gcc.target/i386/pr110232.c: New testcase.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions