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

[NFC][NVPTX] remove truncating c-style cast #85889

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

AlexMaclean
Copy link
Member

While a stack size large enough to cause this truncation to be a problem would certainly cause other issues and not produce a valid program anyway, this cast is triggering our Coverity static analysis. Removing it seems cleaner.

@AlexMaclean
Copy link
Member Author

@Artem-B, I put this up for review back on Phabricator but it slipped off my radar and I never got around to explaining further why I want to make this change. Hopefully the updated description helps. Let me know what you think, thanks!

@AlexMaclean
Copy link
Member Author

@Artem-B ping

@AlexMaclean AlexMaclean merged commit b1a633b into llvm:main Mar 26, 2024
5 checks passed
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