================
@@ -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"))
----------------
Pierre-vh wrote:

I just did a loop instead so it checks all AS properly.
I did not add tests for every single permutation possible though, just for p15, 
is that fine?

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

Reply via email to