RFR: 8353276: C2: simplify PhaseMacroExpand::opt_bits_test [v2]

Saranya Natarajan snatarajan at openjdk.org
Mon Jul 14 18:50:23 UTC 2025


> **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.

Saranya Natarajan has updated the pull request incrementally with one additional commit since the last revision:

  addressing review comments

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26276/files
  - new: https://git.openjdk.org/jdk/pull/26276/files/c8164502..1b6be049

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

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/26276.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26276/head:pull/26276

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


More information about the hotspot-compiler-dev mailing list