compiling code that has never been interpreted
Deneau, Tom
tom.deneau at amd.com
Tue Sep 3 05:52:13 PDT 2013
For the HSAIL-based junit tests, we have the following general structure:
1. run a method in normal java mode
2. compile same method into HSAIL and dispatch
3. compare results
If the first two steps above are reversed, such that we force graal to compile a method which may have never been executed in java, there are some cases where the graal-generated HSAIL code is clearly incorrect, seemingly missing whole methods which should be inlined, etc. (We are compiling with the flag -G:+InlineEverything). We are running --vm server.
Is there a flag that should be used to handle such a case where we are trying to compile something that may have never been interpreted? Or is this not supported?
I can try to get igv graphs if needed.
-- Tom
More information about the graal-dev
mailing list