================
@@ -440,8 +461,12 @@ Error DataLayout::parsePointerSpec(StringRef Spec) {
     return createStringError(
         "index size cannot be larger than the pointer size");
 
+  if (ExternalState && BitWidth == IndexBitWidth)
+    return createStringError(
+        "pointers with external state must be non-integral");
----------------
nikic wrote:

Why can't we have a pointer with external state but no non-address bits? Say a 
hypothetical architecture that stores the entire capability in external state 
rather than only a validity bit.

https://github.com/llvm/llvm-project/pull/105735
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to