Re: [PATCH v2 1/3] cfgexpand: Factor out getting the stack decl index

2024-11-20 Thread Richard Biener
On Sat, Nov 16, 2024 at 5:27 AM Andrew Pinski wrote: > > This is the first patch in improving this code. > Since there are a few places which get the index and they > check the same thing, let's factor that out into one function. > > Bootstrapped and tested on x86_64-linux-gnu. OK. Thanks, Richa

[PATCH v2 1/3] cfgexpand: Factor out getting the stack decl index

2024-11-15 Thread Andrew Pinski
This is the first patch in improving this code. Since there are a few places which get the index and they check the same thing, let's factor that out into one function. Bootstrapped and tested on x86_64-linux-gnu. gcc/ChangeLog: * cfgexpand.cc (INVALID_STACK_INDEX): New defined.