Branch removal (original) (raw)
Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Sep 27 13:20:26 PDT 2012
- Previous message: Branch removal
- Next message: Branch removal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Patrick Metzler wrote:
Hi Vladimir,
On 09/27/2012 09:04 PM, Vladimir Kozlov wrote: I think the best solution for you is to modify the java code: Ok, I think I'll take this solution and stick with a non-general transformation. Just out of curiosity, to implement this in C2, would it be necessary to change many existent optimizations or would it be possible by just inserting the new optimization?
My original suggestion is not valid for your case because loop optimizations modified the graph in such way that you can not use your transformation. Lets do opposite: insert you optimization just after first igvn.optimize() in Compile::Optimize(). I would hope that you still have "diamond" shape graph at that point.
Vladimir
Thank you for your kind help. Best regards, Patrick
- Previous message: Branch removal
- Next message: Branch removal
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the hotspot-compiler-dev mailing list