New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8268963: [IR Framework] Some default regexes matching on PrintOptoAssembly in IRNode.java do not work on all platforms #4931
Conversation
….java do not work on all platforms
|
@chhagedorn The following label will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command. |
@chhagedorn This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 41 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.
|
Thanks Vladimir and Tobias for your reviews! |
/integrate |
Going to push as commit 9856ace.
Your commit was automatically rebased without conflicts. |
@chhagedorn Pushed as commit 9856ace. |
The test
TestIRMatching
verifies that the various default regexes work as expected. This test however, does not work for some default regexes matching thePrintOptoAssembly
output on aarch64, x86, PPC and s390 due to slightly different formats/emitted instructions. This patch includes:IRNode
to make them work properly (includes composite regex format/processing, checks on the application of default regexes etc.).TestIRMatching
fixes to adapt for the changes of the default regexes for different platforms.TestIRMatching
refactoring to better report errors (bulk reporting).TestIRMatching
which is hit on PPC.CHECKCAST_ARRAYCOPY
cannot be used on s390 as there is no stub for it in C2). This also includes an improved log reporting from the test VM (where these conditions are checked) to allow the user to be informed about skipped IR rules.These changes were tested on x86, x64, aarch64, PPC and s390 with all framework JTreg tests:
Thanks to @TheRealMDoerr for helping with the testing on PPC and s390.
I additionally applied the changes to Valhalla and tested the converted inline type tests with flag settings from tier1-9.
I thought about splitting these changes into separate tasks but all of these changes are somehow related/required to tackle this default regex problem. I therefore included these fixes in a single change.
Thanks,
Christian
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/4931/head:pull/4931
$ git checkout pull/4931
Update a local copy of the PR:
$ git checkout pull/4931
$ git pull https://git.openjdk.java.net/jdk pull/4931/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 4931
View PR using the GUI difftool:
$ git pr show -t 4931
Using diff file
Download this PR as a diff file:
https://git.openjdk.java.net/jdk/pull/4931.diff