[llvm-branch-commits] [RISC-V][MC][RVY] Add support for RVY loads/stores (PR #213417)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jul 31 23:54:28 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions c,h,cpp -- clang/test/Driver/print-supported-extensions-riscv.c llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h llvm/lib/Target/RISCV/RISCVInstrInfo.cpp llvm/lib/Target/RISCV/RISCVMakeCompressible.cpp llvm/lib/TargetParser/RISCVISAInfo.cpp llvm/unittests/Target/RISCV/RISCVBaseInfoTest.cpp llvm/unittests/TargetParser/RISCVISAInfoTest.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp b/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
index f92ad649f..ef4eee854 100644
--- a/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
+++ b/llvm/unittests/TargetParser/RISCVISAInfoTest.cpp
@@ -1275,7 +1275,8 @@ TEST(ComputeDefaultABI, SelectsExpectedABI) {
             "l64pc128d");
 
   // Integral pointer mode defaults to the base RVI ABI.
-  EXPECT_EQ(GetABIFromFeatures(64, {"+experimental-y", "+xllvmrvyipm"}), "lp64");
+  EXPECT_EQ(GetABIFromFeatures(64, {"+experimental-y", "+xllvmrvyipm"}),
+            "lp64");
 
   // There is no l64pc128e ABI, so RV64E+Y still defaults to the integer ABI.
   EXPECT_EQ(GetABIFromFeatures(64, {"+experimental-y", "+e"}), "lp64e");

``````````

</details>


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


More information about the llvm-branch-commits mailing list