RE: [PATCH v1] RISC-V: Bugfix for legitimize address PR/111634

2023-10-06 Thread Li, Pan2
: Bugfix for legitimize address PR/111634 On 10/6/23 22:49, pan2...@intel.com wrote: > From: Pan Li > > Given we have RTL as below. > > (plus:DI (mult:DI (reg:DI 138 [ g.4_6 ]) >(const_int 8 [0x8])) > (lo_sum:DI (reg:DI 167) >

Re: [PATCH v1] RISC-V: Bugfix for legitimize address PR/111634

2023-10-06 Thread Jeff Law
On 10/6/23 22:49, pan2...@intel.com wrote: From: Pan Li Given we have RTL as below. (plus:DI (mult:DI (reg:DI 138 [ g.4_6 ]) (const_int 8 [0x8])) (lo_sum:DI (reg:DI 167) (symbol_ref:DI ("f") [flags 0x86] ) )) When handling (plus (plus (mult