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

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 10 14:14:19 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;
----------------
efriedma-quic wrote:

Do you also need to update other APIs?  ConstantDataSequential::getElementAsInteger() etc.

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


More information about the llvm-commits mailing list