[llvm-branch-commits] [clang] [lld] [llvm] [mlir] [RFC][AMDGPU] Add BARRIER address space (PR #209746)
Matt Arsenault via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Jul 24 06:10:19 PDT 2026
================
@@ -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
More information about the llvm-branch-commits
mailing list