This is a summary of discussions relative to the merge request created by 
Richard Earnshaw (rearnsha) <[email protected]> titled
aarch64: Fix more cases of gen_highpart on subregs [PR127393]
since its creation.

Description: Following on from the fix in r17-4565, there were reports of more 
cases
where we could get ICEs during expansion of TImode patterns when subregs
were in use.

I've now gone through the machine description file and hopefully
identified the remaining cases where this could be a problem.

gcc/ChangeLog:

        PR target/127393
        * config/aarch64/aarch64.md (movti):  Ensure we don't call
        gen_highpart on a subreg.
        (addti3): Use pure_register_operand for the destination.
        (addvti4): Likewise.
        (uaddvti4): Likewise.
        (subti3): Likewise.
        (subvti4): Likewise.
        (usubti4): Likewise.
        (<su_optab>mulditi3): Likewise.
        (multi3): Require pure_register_operand for all operands.


The full and up to date discussion can be found at 
https://forge.sourceware.org/gcc/gcc/pulls/240

The merge request has been closed without being merged directly on the forge 
repository.


On 2026-10-08 14:29:18+00:00, Wilco Dijkstra (Wilco) wrote:

LGTM, OK

On 2026-10-12 16:12:41+00:00, Wilco Dijkstra (Wilco) <[email protected]> 
approved the changes:
LGTM



On 2026-10-14 10:25:30+00:00, Richard Earnshaw (rearnsha) wrote:

Pushed to trunk

Reply via email to