[llvm] [DataLayout] Refactor storage of non-integral address spaces (PR #105734)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 09:59:57 PDT 2024


================
@@ -343,13 +345,17 @@ class DataLayout {
 
   /// Return the address spaces containing non-integral pointers.  Pointers in
   /// this address space don't have a well-defined bitwise representation.
-  ArrayRef<unsigned> getNonIntegralAddressSpaces() const {
-    return NonIntegralAddressSpaces;
+  SmallVector<unsigned, 8> getNonIntegralAddressSpaces() const {
----------------
arsenm wrote:

Is this actually used for anything now? 

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


More information about the llvm-commits mailing list