RFR: 8342676: Unsigned Vector Min / Max transforms [v5]

Jatin Bhateja jbhateja at openjdk.org
Mon Apr 14 13:46:03 UTC 2025


> Adding following IR transforms for unsigned vector Min / Max nodes.
> 
> => UMinV (UMinV(a, b), UMaxV(a, b)) => UMinV(a, b)
> => UMinV (UMinV(a, b), UMaxV(b, a)) => UMinV(a, b)
> => UMaxV (UMinV(a, b), UMaxV(a, b)) => UMaxV(a, b)
> => UMaxV (UMinV(a, b), UMaxV(b, a)) => UMaxV(a, b)
> => UMaxV (a, a) => a
> => UMinV (a, a) => a
> 
> New IR validation test accompanies the patch.
> 
> This is a follow-up PR for https://github.com/openjdk/jdk/pull/20507
> 
> Best Regards,
> Jatin

Jatin Bhateja has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 10 additional commits since the last revision:

 - Review comments resolutions
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - Review suggestions incorporated.
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - Updating copyright year of modified files
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - Update IR transforms and tests
 - Merge branch 'master' of http://github.com/openjdk/jdk into JDK-8342676
 - 8342676: Unsigned Vector Min / Max transforms

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/21604/files
  - new: https://git.openjdk.org/jdk/pull/21604/files/828c6c7a..eabebc74

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=21604&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=21604&range=03-04

  Stats: 74060 lines in 1474 files changed: 43237 ins; 25403 del; 5420 mod
  Patch: https://git.openjdk.org/jdk/pull/21604.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21604/head:pull/21604

PR: https://git.openjdk.org/jdk/pull/21604


More information about the hotspot-compiler-dev mailing list