[all-commits] [llvm/llvm-project] 6a423e: [NVPTX] Fix integer overflow affecting array size ...
Artem Belevich via All-commits
all-commits at lists.llvm.org
Fri Mar 24 10:35:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6a423ee34447f29384fa6b8d7943809f2a8267d2
https://github.com/llvm/llvm-project/commit/6a423ee34447f29384fa6b8d7943809f2a8267d2
Author: Artem Belevich <tra at google.com>
Date: 2023-03-24 (Fri, 24 Mar 2023)
Changed paths:
M llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
M llvm/test/CodeGen/NVPTX/global-variable-big.ll
Log Message:
-----------
[NVPTX] Fix integer overflow affecting array size calculation.
It turns out, 4GB+ large arrays are a thing and a 32-bit integer is just not
enough to handle them.
Differential Revision: https://reviews.llvm.org/D146767
More information about the All-commits
mailing list