[lworld+vector] RFR: 8314980: [lworld+vector] consider scalarization conditions during ciMultiField creation. [v5]

Xiaohong Gong xgong at openjdk.org
Mon Sep 4 08:58:09 UTC 2023


On Mon, 4 Sep 2023 08:22:32 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> What is the expected return value of `is_multifield_scalarized()` for C1 compiler?
>
>> What is the expected return value of `is_multifield_scalarized()` for C1 compiler?
> 
> C2 is the only runtime component which vectorizes multifield bundle and lower tier compiler should return a true value.

Yes, correct. Per my understanding `#if COMPILER2` is a compile flag which is true if C2 is not disabled. Hence this code is just like directly `return InlineTypeNode::is_multifield_scalarized(bt, vec_length);`, right? And then it returns the same value for interpreter/c1/c2.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/918#discussion_r1314638990



More information about the valhalla-dev mailing list