-
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
Minor VectorAPI boxing fixes #20791
Minor VectorAPI boxing fixes #20791
Conversation
gita-omr
commented
Dec 9, 2024
- do not use TR_enableMaskUnboxing environment option since the issue was fixed
- handle astore correctly when RHS is not aload
- do not use TR_enableMaskUnboxing environment option since the issue was fixed - handle astore correctly when RHS is not aload
Removed unneeded |
TR::DataType elementTypeTmp; | ||
int32_t bitsLengthTmp; | ||
vapiObjType objectTypeTmp; | ||
bool scalarizedTmp; |
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.
you don't need to initialize these 4 Tmp(s)? and, they are not used after coming back from the call. we experienced a very elusive bug when a call is made with arguments not initialized (although the code was correct): OpenXL optimizer just generated garbage code.
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.
These are values set by the call and they are not used in this case. Not sure how to make that nicer.
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.
We do it in other places too. In the future we can return a structure filled in with those values.
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.
For now, I gave them *Tmp names to make it more obvious.
Jenkins test sanity.functional zlinux,plinux,xlinux jdk23 |
- do not use TR_enableMaskUnboxing environment option since the issue was fixed - handle astore correctly when RHS is not aload Original PR: eclipse-openj9#20791