================
@@ -7116,6 +7116,10 @@ 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
+      if (!DL.contains("-p15") && !DL.starts_with("p15"))
----------------
Pierre-vh wrote:

I am not sure I understand, do you mean that instead of adding `-p15:32:32`, I 
add some default values for all other reserved pointers as well and leave it at 
that ?

Or do you mean add a generic way to upgrade pointers here, for example by 
creating a small map and automating this entire thing instead of having 
multiple if/else ?

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