Integrated: 8290248: Implement MaxINode::Ideal transformation
Bhavana-Kilambi
duke at openjdk.org
Fri Aug 5 01:56:01 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.
This pull request has now been integrated.
Changeset: 6b2184e8
Author: Bhavana Kilambi <bhavana.kilambi at arm.com>
Committer: Ningsheng Jian <njian at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/6b2184e8d1450a08f819c8ebd3cf25d308606976
Stats: 202 lines in 4 files changed: 201 ins; 0 del; 1 mod
8290248: Implement MaxINode::Ideal transformation
Reviewed-by: kvn, thartmann
-------------
PR: https://git.openjdk.org/jdk/pull/9703
More information about the hotspot-compiler-dev
mailing list