[llvm] a2a7fc7 - [RISCV] Adjust some comments.

Shao-Ce SUN via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 1 06:54:10 PST 2022


Author: Shao-Ce SUN
Date: 2022-02-01T22:53:54+08:00
New Revision: a2a7fc7ea5612fd86c46f054690f532092d92a3d

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

LOG: [RISCV] Adjust some comments.

Added: 
    

Modified: 
    llvm/lib/Support/RISCVISAInfo.cpp
    llvm/lib/Target/RISCV/RISCVInstrInfoZk.td

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/RISCVISAInfo.cpp b/llvm/lib/Support/RISCVISAInfo.cpp
index 72e95d568dbf9..8cdce750bdae6 100644
--- a/llvm/lib/Support/RISCVISAInfo.cpp
+++ b/llvm/lib/Support/RISCVISAInfo.cpp
@@ -770,6 +770,7 @@ struct ImpliedExtsEntry {
   bool operator<(StringRef Other) const { return Name < Other; }
 };
 
+// Note: The table needs to be sorted by name.
 static constexpr ImpliedExtsEntry ImpliedExts[] = {
     {{"v"}, {ImpliedExtsV}},
     {{"zfh"}, {ImpliedExtsZfh}},

diff  --git a/llvm/lib/Target/RISCV/RISCVInstrInfoZk.td b/llvm/lib/Target/RISCV/RISCVInstrInfoZk.td
index 4a41cddedc715..e4e07f4789a69 100644
--- a/llvm/lib/Target/RISCV/RISCVInstrInfoZk.td
+++ b/llvm/lib/Target/RISCV/RISCVInstrInfoZk.td
@@ -1,4 +1,4 @@
-//===- RISCVInstrInfoZk.td - RISC-V Scalar Crypto instructions - tablegen -*===//
+//===- RISCVInstrInfoZk.td - RISC-V 'Zk' instructions ------*- tablegen -*-===//
 //
 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
 // See https://llvm.org/LICENSE.txt for license information.


        


More information about the llvm-commits mailing list