Skip to content

Conversation

graalvmbot
Copy link
Collaborator

This PR implements selective boxing for VectorAPIExpansion. Previously, if a VectorAPIMacroNode is used in a method call, or used as a return value, the whole connected component containing that node is deemed non-expandable. In this PR, we selectively choose some of those usages, disconnect them from the connected component by manually boxing its VectorAPIMacroNode inputs. This allows the component to be expanded.

Currently, we conservatively apply this boxing for calls that return Throwable as well as for the return value of the compiled method.

Please take a look and share your thoughts, thanks a lot.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Aug 26, 2025
@graalvmbot graalvmbot merged commit a2dba36 into master Aug 29, 2025
13 checks passed
@graalvmbot graalvmbot deleted the qam/expanduncommon branch August 29, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants