-
Notifications
You must be signed in to change notification settings - Fork 729
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
VectorAPI analyze guard for VectorAPI package #16354
VectorAPI analyze guard for VectorAPI package #16354
Conversation
@jdmpapin / @vijaysun-omr Can I please get review on this refinement changes over the previous one where merging was disable if there is any Vector API intrinsic call in method. @gita-omr For now I have included two packages for the Vector JEP, do you know if there are any other Class we should include? On IBM Z I tried out this change with vector jep benchmarks and I do see all the supported operations being vectorized. |
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.
The overall strategy is good, as we discussed previously. I have one particularly important comment (about classNameLength()
), and a number of requests for small improvements
No, I don't know of any other packages. Actually, even just "jdk/incubator/vector" might be enough but it's ok to keep both. |
bc2248f
to
b58ab5a
Compare
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.
Thanks for your updates - a few more comments
fb04eef
to
d2a57e7
Compare
LGTM. Please squash |
9c03ca5
to
90c5be8
Compare
Jenkins test sanity all jdk8,jdk11,jdk19 |
90c5be8
to
58b7270
Compare
Jenkins test sanity all jdk11,jdk19 |
I am seeing assert being hit in the personal build. Checking out the path it takes. Marking this WIP till I verify
|
Summary of my discussion with @r30shah: The assertion I suggested was too aggressive. We remove all (removable) HCR guards before doing the fear analysis, so at the time of the fear analysis, all HCR guards that appear in the trees will remain, and it should be fine for them to kill fear. Sorry @r30shah for leading you astray on that 😅 |
58b7270
to
1dd2e18
Compare
I have removed the FATAL ASSERT in https://github.com/eclipse-openj9/openj9/compare/58b7270c739132febafa4222d5205e0e043d7b40..1dd2e18a414a823b658f8d53245785f3d0759444 |
If the Virtual guards is generated to guard a inlined method from Vector API package, set them to do not kill fear. Signed-off-by: Rahil Shah <rahil@ca.ibm.com>
1dd2e18
to
50998f9
Compare
Jenkins test sanity all jdk8,jdk11,jdk19 |
removing |
Checks have passed. Merging this now. |
If the Virtual guards is generated to guard a inlined method from Vector API package, set them to do not kill fear.
Signed-off-by: Rahil Shah rahil@ca.ibm.com