tree-optimization/98381 - fix live bool vector extract
authorRichard Biener <rguenther@suse.de>
Tue, 5 Jan 2021 13:23:55 +0000 (14:23 +0100)
committerRichard Biener <rguenther@suse.de>
Tue, 5 Jan 2021 14:54:42 +0000 (15:54 +0100)
commit01da03c915f086fb9aa36b809c1a06a9f661533b
tree44061e426db18709683d913e9f0676fa9771a53b
parent1ff0ddcd8b4728bcc96e1daf2e70a03dc9fbf171
tree-optimization/98381 - fix live bool vector extract

This fixes extraction of live bool vector results for the case of
integer mode vectors.

2021-01-05  Richard Biener  <rguenther@suse.de>

PR tree-optimization/98381
* tree.c (vector_element_bits): Properly compute bool vector
element size.
* tree-vect-loop.c (vectorizable_live_operation): Properly
compute the last lane bit offset.
gcc/tree-vect-loop.c
gcc/tree.c