-
Notifications
You must be signed in to change notification settings - Fork 706
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
Make BoolArrayStoreTransformer iterate CFG for DLT compiles #15393
Conversation
FYI @0xdaryl |
Jenkins test sanity all jdk17 |
AArch64 CI failure seems to be a variant of #13577. |
x64 mac failure caused by warning:
I'll add parenthesis... |
Jenkins test sanity all jdk17 |
1 similar comment
Jenkins test sanity all jdk17 |
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.
Seems reasonable, but @jdmpapin would you mind offering an opinion on the fix since I believe you reviewed the initial implementation.
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.
Approved assuming that the comment/commit message will be clarified
A similar problem is possible when parameters are overwritten by bytecode instructions that don't get translated to trees for DLT, and this transformation can currently trust the parameter signature when it shouldn't. However, in determining that this problem exists, I've fixed it myself. This PR is already a strict improvement, so I think it should be merged as-is, and I will open a follow-up fix afterward
On DLT compiles full analysis is needed because not all bytecodes are translated into IL. Autos and/or checkcast operations of type boolean[] and byte[] may exist. Fixes eclipse-openj9#15369 Signed-off-by: BradleyWood <bradley.wood@ibm.com>
@0xdaryl, are you ok with merging this now? (I imagine so, but just want to confirm) |
On DLT compiles where type information is not available we must not truncate byte stores to 1-bit.
Fixes #15369
Signed-off-by: BradleyWood bradley.wood@ibm.com