[llvm] [NFC][RISCV] Fix mismatched closing comment in XSfmm instruction definition (PR #190898)

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 7 19:58:45 PDT 2026


https://github.com/tclin914 created https://github.com/llvm/llvm-project/pull/190898

The closing comment had XSfmm64a32f but the opening predicate uses XSfmm32a32f.

>From 372842345406f9c822f7bf046606275196eccc03 Mon Sep 17 00:00:00 2001
From: Jim Lin <jim at andestech.com>
Date: Wed, 8 Apr 2026 10:40:14 +0800
Subject: [PATCH] [NFC][RISCV] Fix mismatched closing comment in XSfmm
 instruction definition

The closing comment had XSfmm64a32f but the opening predicate uses
XSfmm32a32f.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply at anthropic.com>
---
 llvm/lib/Target/RISCV/RISCVInstrInfoXSfmm.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/lib/Target/RISCV/RISCVInstrInfoXSfmm.td b/llvm/lib/Target/RISCV/RISCVInstrInfoXSfmm.td
index 2286eca180f56..8efccf9852cb4 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoXSfmm.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoXSfmm.td
@@ -255,7 +255,7 @@ let Predicates = [HasVendorXSfmm32a16fOrXSfmm32a32fOrXSfmm64a64f] in {
   let Uses = [FRM], mayRaiseFPException = true in
   def SF_MM_F_F   : SFInstMatmulF<(outs), (ins TRM2:$rd, VR:$vs2, VR:$vs1),
                                   "sf.mm.f.f", "$rd, $vs2, $vs1">;
-} // Predicates = [HasVendorXSfmm32a16fOrXSfmm64a32fOrXSfmm64a64f]
+} // Predicates = [HasVendorXSfmm32a16fOrXSfmm32a32fOrXSfmm64a64f]
 
 let Predicates = [HasVendorXSfmm32a8i] in {
   foreach a = I8Encodes in



More information about the llvm-commits mailing list