RFR: 8372461: [IR Framework] Multiple test failures after JDK-8371789
Hamlin Li
mli at openjdk.org
Thu Nov 27 11:50:47 UTC 2025
On Tue, 25 Nov 2025 16:51:39 GMT, Christian Hagedorn <chagedorn at openjdk.org> wrote:
> [JDK-8371789](https://bugs.openjdk.org/browse/JDK-8371789) improved the C2 type dumps but unfortunately also broke some IR Framework internal tests and some regexes:
>
> - `TestIRMatching.java`: Forgot to update old reference to "precise". Replaced with "Constant".
> - `IRNode.CHECKCAST_ARRAY*`: Forgot to update old reference to "precise". Replaced with `Constant` and added `aryklassptr`.
> - Some clean-up to `LOAD_STORE_PREFIX` was incorrect since we no longer match various combinations tested with `TestIRMatching.java` and `TestPhaseIRMatching.java`. For example:
> https://github.com/openjdk/jdk/blob/67ef81eb78b28e5dcdf91785b476dfd0858cbd16/test/hotspot/jtreg/testlibrary_tests/ir_framework/tests/TestPhaseIRMatching.java#L766-L783
> I reverted the no-longer matching part of the regex back to what we had before JDK-8371789.
>
> #### Testing
> - [X] Tier1
> - [X] Tier5 with IR framework internal tests only
> - [ ] Failing IR framework internal tests on all platforms
>
> Thanks,
> Christian
[
[TestIRMatching.txt](https://github.com/user-attachments/files/23795645/TestIRMatching.txt)
](url)
github does not allow me to load jtr files, so rename it to txt file. Please let me know if you need more log files.
Sorry, I'm working on some other tasks, can not help to debug this for now.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28495#issuecomment-3585433535
More information about the hotspot-compiler-dev
mailing list