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

[TargetParser] Expose Triple::getArchPointerBitWidth. #82086

Merged
merged 1 commit into from
Feb 17, 2024

Conversation

lhames
Copy link
Contributor

@lhames lhames commented Feb 17, 2024

The getArchPointerBitWidth method provides direct access to the pointer size for arithmetic or switch statements, instead of requiring clients to use the isArch16Bit / isArch32Bit / isArch64Bit predicates.

The getArchPointerBitWidth method provides direct access to the pointer size
for arithmetic or switch statements, instead of requiring clients to use the
isArch16Bit / isArch32Bit / isArch64Bit predicates.
Copy link
Collaborator

@dwblaikie dwblaikie left a comment

Choose a reason for hiding this comment

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

Don't have particular context for this code, but seems harmless enough to me.

@lhames lhames merged commit 80c25da into llvm:main Feb 17, 2024
5 checks passed
@lhames lhames deleted the expose_getArchPointerBitWidth branch February 17, 2024 21:21
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.

None yet

2 participants