[llvm-branch-commits] [AMDGPU] Set AS8 address width to 48 bits (PR #139419)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon May 12 13:00:54 PDT 2025


================
@@ -5773,7 +5773,7 @@ std::string llvm::UpgradeDataLayoutString(StringRef DL, StringRef TT) {
     if (!DL.contains("-p7") && !DL.starts_with("p7"))
       Res.append("-p7:160:256:256:32");
     if (!DL.contains("-p8") && !DL.starts_with("p8"))
-      Res.append("-p8:128:128");
+      Res.append("-p8:128:128:128:48");
----------------
arichardson wrote:

I just kept the current structure that doesn't touch pointer definitions that already exist - should we override those unconditionally? Or just the old variants?

https://github.com/llvm/llvm-project/pull/139419


More information about the llvm-branch-commits mailing list