RFR: 8290248: Implement MaxINode::Ideal transformation
Vladimir Kozlov
kvn at openjdk.org
Tue Aug 2 16:53:53 UTC 2022
On Mon, 1 Aug 2022 16:02:04 GMT, Bhavana-Kilambi <duke at openjdk.org> wrote:
> This patch implements Ideal transformations for MaxINode, which are
> similar to the ones defined for MinINode to transform/optimize a couple
> of commonly occuring patterns such as -
>
> MaxI(x + c0, MaxI(y + c1, z)) ==> MaxI(AddI(x, MAX2(c0, c1)), z) when x
> == y
> MaxI(x + c0, y + c1) ==> AddI(x, MAX2(c0, c1)) when x == y
>
> IR tests to test the Ideal transformations of both MaxI and MinI nodes
> are also included in this patch.
Tobias is running testing already.
-------------
PR: https://git.openjdk.org/jdk/pull/9703
More information about the hotspot-compiler-dev
mailing list