Hello!

I'd like to backport two LRA patches to gcc-14 branch:

1. [PR114942][LRA]: Don't reuse input reload reg of inout early clobber operand
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=9585317f0715699197b1313bbf939c6ea3c1ace6

2. [PR117105][LRA]: Use unique value reload pseudo for early clobber operand
https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;h=4b09e2c67ef593db171b0755b46378964421782b

They both fix RA failure with strict_low_part family of instructions:

(insn 24 55 54 4 (parallel [
            (set (strict_low_part (reg:QI 2 cx [orig:109 e ] [109]))
                (and:QI (subreg:QI (zero_extract:HI (reg/v:HI 2 cx
[orig:109 e ] [109])
                            (const_int 8 [0x8])
                            (const_int 8 [0x8])) 0)
                    (reg:QI 1 dx [orig:115 _6 ] [115])))
            (clobber (reg:CC 17 flags))

that were added by me for PR target/78904, so I have some interest in
the backport.

The backport of two patches was bootstrapped and regression tested
with the current gcc-14 branch.

Is the backport OK for branch?

Thanks,
Uros.

Reply via email to