-
Notifications
You must be signed in to change notification settings - Fork 737
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
Vectorize Vector API intrisics if operands are known #21052
Vectorize Vector API intrisics if operands are known #21052
Conversation
gita-omr
commented
Feb 1, 2025
- check if any of operands have known vector type
- vectorize if such operand is found
- check if any of operands have known vector type - vectorize if such operand is found
- check if any of operands have known vector type - vectorize if such operand is found
Addressed all comments above. |
Jenkins test sanity xlinux jdk21 |
@vijaysun-omr Do you have any comments? |
I will review this in the next couple of days, even though this was merged, and if I have comments, I will share |
TR::MethodSymbol * methodSymbol = node->getSymbolReference()->getSymbol()->castToMethodSymbol(); | ||
if (isVectorAPIMethod(methodSymbol)) | ||
{ | ||
if (methodSymbol->getRecognizedMethod() == TR::jdk_internal_vm_vector_VectorSupport_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.
Just curious, is this transformation based on knowledge about the operands also applicable to other vector API methods apart from the compare
method for which it seems to be applied here ?