fix vectorizable_condition ICE with EXTRACT_LAST_REDUCTION
authorRichard Biener <rguenther@suse.de>
Fri, 12 Jun 2020 10:06:53 +0000 (12:06 +0200)
committerRichard Biener <rguenther@suse.de>
Fri, 12 Jun 2020 10:09:01 +0000 (12:09 +0200)
commit135a8ad3a59972ea64b1244b0e221cdded9a6ec6
tree79ef1be0cead7dc2fb343109db97d18531fb1fce
parente784f98027dbd5cdc46712751dcfba8278eb7fa9
fix vectorizable_condition ICE with EXTRACT_LAST_REDUCTION

The previous reorg missed a guard around the else clause access.

2020-06-12  Richard Biener  <rguenther@suse.de>

PR tree-optimization/95633
* tree-vect-stmts.c (vectorizable_condition): Properly
guard the vec_else_clause access with EXTRACT_LAST_REDUCTION.
gcc/tree-vect-stmts.c