RFR: 8373999: C2: apply KnownBits and unsigned bounds to Add / Sub operations [v4]
Quan Anh Mai
qamai at openjdk.org
Sun Dec 28 07:33:45 UTC 2025
> Hi,
>
> This PR improves the implementation of `AddNode/SubNode::Value` by taking advantage of the additional information in `TypeInt`. The implementation has some pretty non-trivial logic. Fortunately, the test infrastructure is already there.
>
> Please take a look and leave your reviews, thanks a lot.
Quan Anh Mai 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 five additional commits since the last revision:
- copyright year
- Merge branch 'master' into addsub
- Merge branch 'master' into addsub
- include order
- Improve Add/SubNode::Value with unsigned bounds and known bits
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28897/files
- new: https://git.openjdk.org/jdk/pull/28897/files/a0ff1f67..fe534505
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28897&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28897&range=02-03
Stats: 2288 lines in 999 files changed: 597 ins; 281 del; 1410 mod
Patch: https://git.openjdk.org/jdk/pull/28897.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28897/head:pull/28897
PR: https://git.openjdk.org/jdk/pull/28897
More information about the hotspot-compiler-dev
mailing list