[llvm] [LLVM][IR] Add support for address space names in DataLayout (PR #170559)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 4 11:25:14 PST 2025


================
@@ -687,19 +748,37 @@ DataLayout::getPointerSpec(uint32_t AddrSpace) const {
 void DataLayout::setPointerSpec(uint32_t AddrSpace, uint32_t BitWidth,
                                 Align ABIAlign, Align PrefAlign,
                                 uint32_t IndexBitWidth, bool HasUnstableRepr,
-                                bool HasExternalState) {
+                                bool HasExternalState,
+                                StringRef AddrSpaceName) {
----------------
jurahul wrote:

Resolving as this is not applicable anymore.

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


More information about the llvm-commits mailing list