================
@@ -245,6 +246,7 @@ class DataLayout {
   unsigned getDefaultGlobalsAddressSpace() const {
     return DefaultGlobalsAddrSpace;
   }
+  unsigned getFlatAddressSpace() const { return FlatAddressSpace; }
----------------
shiltian wrote:

@arsenm made a point in 
https://github.com/llvm/llvm-project/pull/108594#discussion_r1759254548 that, 
address space is already defined as a 24-bit int, `~0U` should not carry 
anything. I'm fine either way.

https://github.com/llvm/llvm-project/pull/108786
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to