What does @Input(notDataflow = true) do?

Krystal Mok rednaxelafx at gmail.com
Tue Apr 1 06:57:28 UTC 2014


Hi Gilles,

Thank you for your explanation. That's more or less what I expected to be.

I was looking at DeoptimizeNode versus SafepointNode. Both take a
FrameState input, but the former takes it as a normal data dependence
whereas the latter is marked as not-dataflow. I was wondering how these two
node would differ in terms of their FrameState holding on to values that
might be otherwise dead.

Best regards,
Kris


On Mon, Mar 31, 2014 at 11:37 PM, Gilles Duboscq <duboscq at ssw.jku.at> wrote:

> Hi Kris,
>
> This flag only affects the field name as you found out. This suffix is
> then used in the IdealGraphVisualizer to change the color of these edges
> (from blue for data flow to black for "other").
>
> -Gilles
> On 1 Apr 2014 02:29, "Krystal Mok" <rednaxelafx at gmail.com> wrote:
>
>> Hi all,
>>
>> I'd like to know what @Input(notDataflow = true) does in Graal, and how it
>> differs from the default notDataflow = false case.
>>
>> I searched the code and only saw FieldScanner reading that attribute, but
>> it's not really doing much special, other than appending "#NDF" suffix to
>> the field name.
>>
>> Does this attribute affect data dependence analysis in any way?
>>
>> Thanks,
>> Kris
>>
>


More information about the graal-dev mailing list