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

Jatin Bhateja jbhateja at openjdk.org
Fri Mar 28 09:50:10 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 eight additional commits since the last revision:

 - 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/e9e09a5b..828c6c7a

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

  Stats: 148954 lines in 3481 files changed: 58742 ins; 69392 del; 20820 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