Re: [PATCH] use *_grow_cleared rather than *_grow on vect_unpromoted_value

2023-09-29 Thread Richard Biener
On Fri, 29 Sep 2023, Jakub Jelinek wrote: > On Wed, Sep 27, 2023 at 11:15:26AM +, Richard Biener wrote: > > > tree-vect-patterns.cc:2947 unprom.quick_grow (nops); > > > T = vect_unpromoted_value > > > Go for quick_grow_cleared? Something else? > > > > The CTOR zero-initializes everything, s

[PATCH] use *_grow_cleared rather than *_grow on vect_unpromoted_value

2023-09-29 Thread Jakub Jelinek
On Wed, Sep 27, 2023 at 11:15:26AM +, Richard Biener wrote: > > tree-vect-patterns.cc:2947 unprom.quick_grow (nops); > > T = vect_unpromoted_value > > Go for quick_grow_cleared? Something else? > > The CTOR zero-initializes everything, so maybe it can go. In theory > .set_op could also be c