[llvm] [WIP] Extend data layout to add non zero null value for address space. (PR #83109)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 08:37:16 PST 2024


================
@@ -299,6 +302,17 @@ class DataLayout {
     return ManglingMode == MM_WinCOFFX86;
   }
 
+  uint64_t getNonZeroValueForAddrSpace(uint64_t AddrSpace) {
----------------
arsenm wrote:

AddrSpace usually uses unsigned 

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


More information about the llvm-commits mailing list