RFR: 8277882: New subnode ideal optimization: converting "c0 - (x + c1)" into "(c0 - c1) - x" [v4]

Dean Long dlong at openjdk.java.net
Wed Dec 1 00:57:29 UTC 2021


On Tue, 30 Nov 2021 22:44:59 GMT, Zang, Zhiqiang <duke at openjdk.java.net> wrote:

>> Suggest two new optimizations that can be done in SubINode::Ideal.
>
> Zang, Zhiqiang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   add ok_to_convert to the condition.

Marked as reviewed by dlong (Reviewer).

It looks reasonable to me.  I'll run some testing.
@vnkozlov, could you please take a look also?

-------------

PR: https://git.openjdk.java.net/jdk/pull/6441


More information about the hotspot-compiler-dev mailing list