[llvm-branch-commits] [llvm] [RISC-V][RVY] Add a DataLayout component for CHERI capabilities (PR #177249)

Alexander Richardson via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sun Apr 26 21:29:40 PDT 2026


https://github.com/arichardson updated https://github.com/llvm/llvm-project/pull/177249

>From 9cbf724b4b520dbb235aa39d6af9d8e5ea9c734a Mon Sep 17 00:00:00 2001
From: Alex Richardson <alexrichardson at google.com>
Date: Sun, 26 Apr 2026 21:29:13 -0700
Subject: [PATCH] clang-format

Created using spr 1.3.8-beta.1
---
 llvm/lib/TargetParser/TargetDataLayout.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/lib/TargetParser/TargetDataLayout.cpp b/llvm/lib/TargetParser/TargetDataLayout.cpp
index 9d3d493be0b79..ed04ccb53d8e6 100644
--- a/llvm/lib/TargetParser/TargetDataLayout.cpp
+++ b/llvm/lib/TargetParser/TargetDataLayout.cpp
@@ -298,7 +298,8 @@ static std::string computeRISCVDataLayout(const Triple &TT, StringRef ABIName) {
 
   // TODO: Maybe we should move RISCVABI to TargetParser, so we can reuse that
   // logic here instead of duplicating the string handling?
-  bool IsRVYPurecapABI = ABIName.starts_with("il32pc64") || ABIName.starts_with("l64pc128");
+  bool IsRVYPurecapABI =
+      ABIName.starts_with("il32pc64") || ABIName.starts_with("l64pc128");
 
   // Pointer and integer sizes.
   if (TT.isRISCV64()) {



More information about the llvm-branch-commits mailing list