[llvm] [DataLayout] Refactor storage of non-integral address spaces (PR #105734)
Alexander Richardson via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 28 10:31:42 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 {
----------------
arichardson wrote:
It is only used in tests - I could drop those if you prefer?
https://github.com/llvm/llvm-project/pull/105734
More information about the llvm-commits
mailing list