Substitutions in Graal
Juan Jose Fumero
juan.fumero at ed.ac.uk
Thu May 29 09:52:40 UTC 2014
Hi,
after this merge [1] with my fork, I had to change the replacements
from this
registerSubstitutions(OCLMathSubstitutions.class);
for this one:
registerSubstitutions(Math.class, OCLMathSubstitutions.class);
But, when I apply the replacements and inlining, the MatIntrinsics is
still my graph.
...
114|MathIntrinsic
119|Const(0.31938154)
120|Const(-0.35656378)
121|Const(1.7814779)
...
I want to substitute MathIntrinsic for OCLMathIntrinsic.
With my previous version (merge with Graal 839cb35354e8 [2] ) it works.
Any idea?
Many thanks
[1] http://hg.openjdk.java.net/graal/graal/rev/5c73b162eec2
[2] http://hg.openjdk.java.net/graal/graal/rev/839cb35354e8
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <http://mail.openjdk.java.net/pipermail/graal-dev/attachments/20140529/5c5db7a3/attachment.ksh>
More information about the graal-dev
mailing list