[llvm] 4795b2b - [RISCV] Fix comment typo and indentation for class SchedNary. NFC.

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 23 00:18:23 PDT 2025


Author: Jim Lin
Date: 2025-06-23T15:17:25+08:00
New Revision: 4795b2b5a3d739b59f7f4e97fe7ef201f539d2ba

URL: https://github.com/llvm/llvm-project/commit/4795b2b5a3d739b59f7f4e97fe7ef201f539d2ba
DIFF: https://github.com/llvm/llvm-project/commit/4795b2b5a3d739b59f7f4e97fe7ef201f539d2ba.diff

LOG: [RISCV] Fix comment typo and indentation for class SchedNary. NFC.

Added: 
    

Modified: 
    llvm/lib/Target/RISCV/RISCVInstrInfoV.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
index fe43a2be4aab9..96c4a1b6277bf 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoV.td
@@ -138,16 +138,17 @@ class SchedCommon<list<SchedWrite> writes, list<SchedRead> reads,
 }
 
 // Common class of scheduling definitions for n-ary instructions.
-// The scheudling resources are relevant to LMUL and may be relevant to SEW.
+// The scheduling resources are relevant to LMUL and may be relevant to SEW.
 class SchedNary<string write, list<string> reads, string mx, int sew = 0,
                 bit forceMasked = 0, bit forcePassthruRead = 0>
     : SchedCommon<[!cast<SchedWrite>(
-                      !if(sew,
-                          write # "_" # mx # "_E" # sew,
-                          write # "_" # mx))],
+                       !if(sew,
+                           write # "_" # mx # "_E" # sew,
+                           write # "_" # mx))],
                   !foreach(read, reads,
-                           !cast<SchedRead>(!if(sew, read #"_" #mx #"_E" #sew,
-                                                 read #"_" #mx))),
+                           !cast<SchedRead>(!if(sew,
+                                                read # "_" # mx # "_E" #sew,
+                                                read # "_" # mx))),
                   mx, sew, forceMasked, forcePassthruRead>;
 
 // Classes with postfix "MC" are only used in MC layer.


        


More information about the llvm-commits mailing list