Skip to content

Fix array and memory segment access in VectorAPIExpansion - #20553

Merged
0xdaryl merged 1 commit into
eclipse-openj9:masterfrom
gita-omr:vapi_load
Nov 15, 2024
Merged

Fix array and memory segment access in VectorAPIExpansion#20553
0xdaryl merged 1 commit into
eclipse-openj9:masterfrom
gita-omr:vapi_load

Conversation

@gita-omr

@gita-omr gita-omr commented Nov 8, 2024

Copy link
Copy Markdown
Contributor
  • we should not add array header to the address but use base address and offset provided by the intrinsic, whether it's array or segment

@tajila tajila left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach makes sense to me. @0xdaryl Please review this

@tajila
tajila requested a review from 0xdaryl November 13, 2024 22:24
}

TR::Node *
TR_VectorAPIExpansion::generateAddressNode(TR::Compilation *comp, TR::Node *base, TR::Node *offset)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compilation object is not used in this function. Does it need to be part of the API?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. I will remove it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@0xdaryl

0xdaryl commented Nov 14, 2024

Copy link
Copy Markdown
Contributor

Jenkins test sanity all jdk21

@gita-omr

Copy link
Copy Markdown
Contributor Author

jdk_utik_0 failure on Z seems to be unrelated.

@0xdaryl

0xdaryl commented Nov 14, 2024

Copy link
Copy Markdown
Contributor

Please squash commits and we can merge.

- we should not add array header to the address but use base
  address and offset provided by the intrinsic, whether it's array or segment
@gita-omr

Copy link
Copy Markdown
Contributor Author

Squashed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants