[llvm-branch-commits] [llvm] [DataLayout][LangRef] Split non-integral and unstable pointer properties (PR #105735)

Nikita Popov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 22 07:41:41 PDT 2025


================
@@ -617,7 +638,7 @@ Error DataLayout::parseLayoutString(StringRef LayoutString) {
     // the spec for AS0, and we then update that to mark it non-integral.
     const PointerSpec &PS = getPointerSpec(AS);
     setPointerSpec(AS, PS.BitWidth, PS.ABIAlign, PS.PrefAlign, PS.IndexBitWidth,
-                   true);
+                   true, false);
----------------
nikic wrote:

```suggestion
                   /*HasUnstableRepr=*/true, /*HasExternalState=*/false);
```

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


More information about the llvm-branch-commits mailing list