RFR: 8352595: Regression of JDK-8314999 in IR matching

Marc Chevalier duke at openjdk.org
Mon Mar 24 09:42:28 UTC 2025


A lot of tests for the IR framework used `ALLOC` and friends as a check that would run on the Opto assembly by default, but can also run earlier, but that's no longer the case.

There were two kinds of tests to fix: the ones rather about `ALLOC`, where the used or expected compile phases have to change, and the tests where `ALLOC` were just a check that would run on opto assembly. For this, I tried to keep the spirit of the test using other regexes made for this stage.

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

Commit messages:
 - Fix TestCompilePhaseCollector.java
 - Fix TestPhaseIRMatching.java
 - Fix TestBadFormat

Changes: https://git.openjdk.org/jdk/pull/24163/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24163&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8352595
  Stats: 74 lines in 3 files changed: 16 ins; 2 del; 56 mod
  Patch: https://git.openjdk.org/jdk/pull/24163.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24163/head:pull/24163

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


More information about the hotspot-compiler-dev mailing list