Re: [PATCH] RISC-V: THEAD: Fix ICE caused by split optimizations for XTheadFMemIdx.

2024-01-11 Thread Christoph Müllner
On Thu, Jan 11, 2024 at 4:36 PM Kito Cheng wrote: > > LGTM > > On Thu, Jan 11, 2024 at 7:23 PM Jin Ma wrote: > > > > Due to the premature split optimizations for XTheadFMemIdx, GPR > > is allocated when reload allocates registers, resulting in the > > following insn. LGTM. This was most likely

Re: [PATCH] RISC-V: THEAD: Fix ICE caused by split optimizations for XTheadFMemIdx.

2024-01-11 Thread Kito Cheng
LGTM On Thu, Jan 11, 2024 at 7:23 PM Jin Ma wrote: > > Due to the premature split optimizations for XTheadFMemIdx, GPR > is allocated when reload allocates registers, resulting in the > following insn. > > (insn 66 21 64 5 (set (reg:DF 14 a4 [orig:136 ] [136]) > (mem:DF (plus:SI

[PATCH] RISC-V: THEAD: Fix ICE caused by split optimizations for XTheadFMemIdx.

2024-01-11 Thread Jin Ma
Due to the premature split optimizations for XTheadFMemIdx, GPR is allocated when reload allocates registers, resulting in the following insn. (insn 66 21 64 5 (set (reg:DF 14 a4 [orig:136 ] [136]) (mem:DF (plus:SI (reg/f:SI 15 a5 [141]) (ashift:SI (reg/v:SI 10 a0