On Mon, 15 Jun 2026 12:10:17 GMT, Marc Chevalier <[email protected]> wrote:

>> src/hotspot/share/opto/vector.cpp line 210:
>> 
>>> 208:       for (uint parm_idx = 0; parm_idx < nargs; parm_idx++) {
>>> 209:         if 
>>> (call->method()->is_scalarized_arg(static_cast<int>(parm_idx))) {
>>> 210:           bool nullable = 
>>> call->tf()->domain_sig()->field_at(in_idx)->maybe_null();
>> 
>> We have a method in `InlineTypeNode` that collects call inputs just like 
>> this, it is used when initializing the state of a `Parse`. Can we reuse it?
>
> Can you point to what you have in mind? I looked for such a function (because 
> I could not believe we weren't doing that many times already), but all the 
> similar code required some significant transformation wrt their size. But it 
> is very likely I've missed some!

Ah yes, `InlineTypeNode::make_from_multi` might do the trick. I've missed that, 
my bad. I'll try.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2547#discussion_r3413342597

Reply via email to