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

via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 27 18:48:28 PST 2025


================
@@ -617,15 +617,15 @@ class ConstantDataSequential : public ConstantData {
 
   /// If this is a sequential container of integers (of any size), return the
   /// specified element in the low bits of a uint64_t.
-  uint64_t getElementAsInteger(unsigned i) const;
+  uint64_t getElementAsInteger(uint64_t i) const;
 
   /// If this is a sequential container of integers (of any size), return the
   /// specified element as an APInt.
   APInt getElementAsAPInt(unsigned i) const;
----------------
pzzp wrote:

Done! ✨

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


More information about the cfe-commits mailing list