================
@@ -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");
----------------
arichardson wrote:
Yes we could definitely have that, I believe this would apply to something like
the now deprecated Intel MPX fat pointer solution. Will drop the restrictions
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