Skip to content
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

AArch64: Handle shift amount 0 #7343

Merged
merged 1 commit into from
May 23, 2024
Merged

AArch64: Handle shift amount 0 #7343

merged 1 commit into from
May 23, 2024

Conversation

knn-k
Copy link
Contributor

@knn-k knn-k commented May 23, 2024

This code fixes shiftHelper() in AArch64 codegen.
It generates a mov instruction when the shift amount is 0 and the reference count of the first child of a shift node is larger than 1.

This code fixes shiftHelper() in AArch64 codegen.
It generates a mov instruction when the shift amount is 0 and the
reference count of the first child of a shift node is larger than 1.

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
@knn-k
Copy link
Contributor Author

knn-k commented May 23, 2024

Jenkins build aarch64,amac

@knn-k knn-k marked this pull request as ready for review May 23, 2024 08:35
@knn-k knn-k requested a review from 0xdaryl as a code owner May 23, 2024 08:35
@knn-k
Copy link
Contributor Author

knn-k commented May 23, 2024

This is a fix for eclipse-openj9/openj9#19525.

@0xdaryl 0xdaryl merged commit 625d6fb into eclipse:master May 23, 2024
6 of 8 checks passed
@knn-k knn-k deleted the aarch64shift0 branch May 23, 2024 11:30
knn-k added a commit to knn-k/openj9-omr that referenced this pull request May 23, 2024
This code fixes shiftHelper() in AArch64 codegen.
It generates a mov instruction when the shift amount is 0 and the
reference count of the first child of a shift node is larger than 1.

Original PR: eclipse/omr#7343

Signed-off-by: KONNO Kazuhiro <konno@jp.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants