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

PR for llvm/llvm-project#57021 #79

Merged
merged 1 commit into from
Aug 12, 2022
Merged

PR for llvm/llvm-project#57021 #79

merged 1 commit into from
Aug 12, 2022

Conversation

llvmbot
Copy link
Member

@llvmbot llvmbot commented Aug 9, 2022

The RelLookupTableConverter pass currently only supports 64-bit
pointers.  This is currently enforced using an isArch64Bit() check
on the target triple. However, we consider x32 to be a 64-bit target,
even though the pointers are 32-bit. (And independently of that
specific example, there may be address spaces with different pointer
sizes.)

As such, add an additional guard for the size of the pointers that
are actually part of the lookup table.

Differential Revision: https://reviews.llvm.org/D131399

(cherry picked from commit 4ac0078)
@llvmbot
Copy link
Member Author

llvmbot commented Aug 9, 2022

@gulfemsavrun What do you think about merging this PR to the release branch?

@tru
Copy link
Contributor

tru commented Aug 11, 2022

ping @gulfemsavrun - can this be merged to the release branch?

@gulfemsavrun
Copy link
Contributor

ping @gulfemsavrun - can this be merged to the release branch?
Yes, we can merge it.

@tru tru merged commit d3847c1 into release/15.x Aug 12, 2022
@tru tru deleted the llvm-issue57021 branch August 12, 2022 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backport fix for RelLookupTableConverter on gnux32
4 participants