-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8342393: Promote commutative vector IR node sharing #22863
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back jbhateja! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@jatin-bhateja 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. |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice improvement, Jatin.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks promising, thanks for the work!
test/hotspot/jtreg/compiler/vectorapi/VectorCommutativeOperSharingTest.java
Show resolved
Hide resolved
e9be0de
to
3291931
Compare
@jatin-bhateja Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
Patch promotes the sharing of commutative vector IR with the same inputs but different input ordering.
Unlike scalar IR where we perform edge swapping by sorting inputs based on node indices during IR idealization, for vector IR we chose a simpler approach to decorate commutative operations with a special node-level flag during IR construction thus
obviating any dependency on explicit idealization routines. This flag is later used during GVN hashing to enable node sharing.
Following are the performance stats for JMH micro included with the patch.
Please review and share your comments.
Best Regards,
Jatin
Progress
Issue
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/22863/head:pull/22863
$ git checkout pull/22863
Update a local copy of the PR:
$ git checkout pull/22863
$ git pull https://git.openjdk.org/jdk.git pull/22863/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 22863
View PR using the GUI difftool:
$ git pr show -t 22863
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/22863.diff
Using Webrev
Link to Webrev Comment