]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve constant folding of vector lowering with vector bools
authorRichard Biener <rguenther@suse.de>
Thu, 3 Sep 2020 10:44:40 +0000 (12:44 +0200)
committerRichard Biener <rguenther@suse.de>
Thu, 3 Sep 2020 10:47:59 +0000 (12:47 +0200)
commitb246f5272eb7242a9cefe5b4e7220be9d86ea512
tree1f7a696836df0185d80f2ec8e97961107f414ea1
parent3cc3a373fe5ceb66839daca6861188d04c98362e
Improve constant folding of vector lowering with vector bools

This improves the situation somewhat when vector lowering tries
to access vector bools as seen in PR96814.

2020-09-03  Richard Biener  <rguenther@suse.de>

* tree-vect-generic.c (tree_vec_extract): Remove odd
special-casing of boolean vectors.
* fold-const.c (fold_ternary_loc): Handle boolean vector
type BIT_FIELD_REFs.
gcc/fold-const.c
gcc/tree-vect-generic.c