Re: [COMMITTED] Do not assume LHS of call is an ssa-name.

2024-06-16 Thread Richard Biener
On Fri, Jun 14, 2024 at 9:20 PM Andrew MacLeod wrote: > > gimple_range_fold makes an assumption that if there is a LHS on a call > that it is an ssa_name. Especially later in compilation that may not be > true. It's always true if the LHS is of register type (is_gimple_reg_type) and never true w

[COMMITTED] Do not assume LHS of call is an ssa-name.

2024-06-14 Thread Andrew MacLeod
gimple_range_fold makes an assumption that if there is a LHS on a call that it is an ssa_name.  Especially later in compilation that may not be true. This patch merely avoids calling routines that assume an ssa-name is being passed in. Bootstraps on  x86_64-pc-linux-gnu with no regressions.