Withdrawn: 8349563: Improve AbsNode::Value() for integer types

duke duke at openjdk.org
Mon May 5 15:25:55 UTC 2025


On Wed, 19 Feb 2025 05:10:04 GMT, Jasmine Karthikeyan <jkarthikeyan at openjdk.org> wrote:

> Hi all,
> This is a small patch that improves the implementation of Value() for `AbsINode` and `AbsLNode` by returning the absolute value of the input range. Most of the logic is trivial except for the special case where `_lo == jint_min/jlong_min` which must return the entire type range when encountered, for which I've added a small proof in the comments. I've also added some unit tests and updated the file to limit IR check platforms with more granularity.
> 
> Thoughts and reviews would be appreciated!

This pull request has been closed without being integrated.

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

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


More information about the hotspot-compiler-dev mailing list