recording that a certain lowering took place

Deneau, Tom tom.deneau at amd.com
Wed May 14 21:00:43 UTC 2014


If I call GraalCompiler.compileGraph and in my HSAILLoweringProvider I want to record that a certain lowering took place for this compilation and then possibly act on that in HSAILHotSpotBackend (for this same compilation), is there a good way to do that?

Reason: we have to add some instructions in our HSAIL prologue based on whether any allocations are in the compilation.  The way we do it now, we cast too wide a net.

Ideally I would want a solution where we don't have to search thru all the LIR nodes but I guess we could search if it were unambiguous.

-- Tom


More information about the graal-dev mailing list