RFR: 8020282: Generated code quality: redundant LEAs in the chained dereferences [v7]

Manuel Hässig mhaessig at openjdk.org
Wed Jun 18 08:35:42 UTC 2025


On Tue, 17 Jun 2025 17:34:08 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:

>> Manuel Hässig has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fix test flags
>
> src/hotspot/cpu/x86/peephole_x86_64.cpp line 351:
> 
>> 349:     Node* dependant_lea = decode->fast_out(i);
>> 350:     if (dependant_lea->is_Mach() && dependant_lea->as_Mach()->ideal_Opcode() == Op_AddP) {
>> 351: 
> 
> Nit: you could remove this empty line.

Removed in bd35803. Thanks for pointing it out.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25471#discussion_r2153995826


More information about the hotspot-compiler-dev mailing list