[clang] [llvm] [llvm:ir] Add support for constant data exceeding 4GiB (PR #126481)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 12 02:57:00 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:

Should I add these test to regression tests? but it is really large

https://github.com/llvm/llvm-project/pull/126481


More information about the llvm-commits mailing list