[llvm] [DataLayout] Refactor storage of non-integral address spaces (PR #105734)
Sergei Barannikov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 22 22:49:32 PDT 2024
================
@@ -78,7 +78,11 @@ class DataLayout {
Align ABIAlign;
Align PrefAlign;
uint32_t IndexBitWidth;
-
+ /// Pointers in this address space don't have a well-defined bitwise
+ /// representation (e.g. may be relocated by a copying garbage collector).
+ /// Additionally, they may also be non-integral (i.e. containing additional
+ /// metadata such as bounds information/permissions).
+ bool IsNonIntegral = false;
----------------
s-barannikov wrote:
```suggestion
bool IsNonIntegral;
```
https://github.com/llvm/llvm-project/pull/105734
More information about the llvm-commits
mailing list