[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 10 18:02:48 PST 2025
================
@@ -644,7 +644,7 @@ class ConstantDataSequential : public ConstantData {
Type *getElementType() const;
/// Return the number of elements in the array or vector.
- unsigned getNumElements() const;
+ uint64_t getNumElements() const;
----------------
pzzp wrote:
Similarly, other APIs do not affect the emission of large constant data, so we do not modify them for now.
https://github.com/llvm/llvm-project/pull/126481
More information about the cfe-commits
mailing list