RFR: 8287087: C2: perform SLP reduction analysis on-demand

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Thu Mar 23 09:45:47 UTC 2023


On Wed, 22 Mar 2023 16:18:20 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/superword.cpp line 481:
>> 
>>> 479: 
>>> 480:   _loop_reductions.clear();
>>> 481:   const CountedLoopNode* loop_head = loop->_head->as_CountedLoop();
>> 
>> Can you not use the SuperWord member function `lp()`?
>
> I think you can drop the `loop` argument` to this function.

Good suggestion, will do.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13120#discussion_r1145923539


More information about the hotspot-compiler-dev mailing list