RFR: 8373999: C2: apply KnownBits and unsigned bounds to Add / Sub operations [v2]

Quan Anh Mai qamai at openjdk.org
Thu Dec 18 13:50:38 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 incrementally with one additional commit since the last revision:

  include order

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28897/files
  - new: https://git.openjdk.org/jdk/pull/28897/files/a07bb5e1..f910e70b

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28897&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28897&range=00-01

  Stats: 2 lines in 1 file changed: 1 ins; 1 del; 0 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