RFR: 8308994: C2: Re-implement experimental post loop vectorization [v2]
Emanuel Peter
epeter at openjdk.org
Mon Jul 3 15:01:25 UTC 2023
On Mon, 3 Jul 2023 07:37:22 GMT, Pengfei Li <pli at openjdk.org> wrote:
>> ## TL;DR
>>
>> This patch completely re-implements C2's experimental post loop vectorization for better stability, maintainability and performance. Compared with the original implementation, this new implementation adds a standalone loop phase in C2's ideal loop phases and can vectorize more post loops. The original implementation and all code related to multi-versioned post loops are deleted in this patch. More details about this patch can be found in the document replied in this pull request.
>
> Pengfei Li has updated the pull request incrementally with one additional commit since the last revision:
>
> Address part of comments from Emanuel
src/hotspot/share/opto/vmaskloop.hpp line 46:
> 44:
> 45: // Data structures for loop analysis
> 46: Unique_Node_List _core_set; // Loop core nodes set for fast membership check
If this is really only for membership test, and you never need the list of nodes, you could just use the `VectorSet`. Uses less memory.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14581#discussion_r1250999324
More information about the hotspot-compiler-dev
mailing list