[PATCH] D146767: [NVPTX] Fix integer overflow affecting array size calculation.
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 23 15:45:00 PDT 2023
efriedma added a comment.
Please don't use size_t to represent anything other than the size of a buffer allocated by the compiler itself; LLVM supports 32-bit hosts. We generally use uint64_t for the size of LLVM IR types.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146767/new/
https://reviews.llvm.org/D146767
More information about the llvm-commits
mailing list