tree-optimization/97706 - part one, refactor vect_determine_mask_precision
authorRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 10:11:42 +0000 (11:11 +0100)
committerRichard Biener <rguenther@suse.de>
Fri, 6 Nov 2020 11:43:33 +0000 (12:43 +0100)
commit7307d8e10727aea8069c0e47e64a7a9b8588a22e
tree05e7a189f2453c514750e7c0db19f3a4b59bb7d5
parentc2e9f586fde57e64dc20e5528870d06cde894785
tree-optimization/97706 - part one, refactor vect_determine_mask_precision

This computes vect_determine_mask_precision in a RPO forward walk
rather than in a backward walk and using a worklist.  It will make
fixing PR97706 easier but for bisecting I wanted it to be separate.

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

PR tree-optimization/97706
* tree-vect-patterns.c (vect_determine_mask_precision):
Remove worklist operation.
(vect_determine_stmt_precisions): Do not call
vect_determine_mask_precision here.
(vect_determine_precisions): Compute mask precision
in a forward walk.
gcc/tree-vect-patterns.c