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

Emanuel Peter epeter at openjdk.org
Mon Jul 3 14:55:11 UTC 2023


On Mon, 3 Jul 2023 08:13:41 GMT, Pengfei Li <pli at openjdk.org> wrote:

>> Even if all callers currently ensure that `n` has the correct type, I'd say it is still not a great idea to cast without checking, at least in debug.
>
> I searched all C2 code and saw a lot of such patterns. Perhaps doing this in another RFE?

Yes, please file an RFE. You can assign it to me if you don't want to do it yourself - I may find someone else to do it or do it myself eventually. But for new code please already use `as_LoopVectorMaskNode()`.

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

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


More information about the hotspot-compiler-dev mailing list