================
@@ -7116,6 +7116,12 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL,
StringRef TT) {
Res.replace(Res.find(OldP8), OldP8.size(), "-p8:128:128:128:48-");
if (!DL.contains("-p9") && !DL.starts_with("p9"))
Res.append("-p9:192:256:256:32");
+
+ // Add sizing for address space 15, including the reserved address spaces
+ // in between.
+ if (!DL.contains("-p15") && !DL.starts_with("p15"))
----------------
arsenm wrote:
Should the test be checking for p10 since it's the start of the substring
https://github.com/llvm/llvm-project/pull/209746
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits