RFR: 8308994: C2: Re-implement experimental post loop vectorization [v2]

Pengfei Li pli at openjdk.org
Mon Jul 3 07:46:17 UTC 2023


On Fri, 23 Jun 2023 10:36:49 GMT, Emanuel Peter <epeter at openjdk.org> wrote:

>> src/hotspot/share/opto/loopnode.cpp line 4688:
>> 
>>> 4686:     for (LoopTreeIterator iter(_ltree_root); !iter.done(); iter.next()) {
>>> 4687:       IdealLoopTree* lpt = iter.current();
>>> 4688:       if (lpt->is_counted() && lpt->is_innermost()) {
>> 
>> Is this applied to all innermost counted loops? Or only post-loops?
>
> Ah, you do the check inside. Why not lift it out and assert inside?

I have lift the checks out in commit 2 and added assertions inside.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14581#discussion_r1250411661


More information about the hotspot-compiler-dev mailing list