Integrated: 8353276: C2: simplify PhaseMacroExpand::opt_bits_test

Saranya Natarajan snatarajan at openjdk.org
Wed Jul 16 07:51:47 UTC 2025


On Fri, 11 Jul 2025 21:53:35 GMT, Saranya Natarajan <snatarajan at openjdk.org> wrote:

> **Issue** 
> The last three parameters of `PhaseMacroExpand::opt_bits_test(Node* ctrl, Node* region, int edge, Node* word, int mask, int bits, bool return_fast_path)` are unnecessary after the fix introduced in [JDK-8256425](https://bugs.openjdk.org/browse/JDK-8256425)
> 
> **Fix** 
> The proposed fix removes the last three parameters and makes the necessary modification to the methods. 
> 
> **Testing**
> GitHub Actions
> tier1 to tier5 on windows-x64, linux-x64, linux-aarch64, macosx-x64, and macosx-aarch64.

This pull request has now been integrated.

Changeset: 9f7dc19f
Author:    Saranya Natarajan <snatarajan at openjdk.org>
Committer: Christian Hagedorn <chagedorn at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9f7dc19ffded4608dd2c1ef1e4eacfa0d0a199ea
Stats:     16 lines in 2 files changed: 0 ins; 11 del; 5 mod

8353276: C2: simplify PhaseMacroExpand::opt_bits_test

Reviewed-by: chagedorn, thartmann

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

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


More information about the hotspot-compiler-dev mailing list