[llvm] 4732e3c - [RISCV] Alphabetize X-extensions (and add a comment). NFC.

Philipp Tomsich via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 29 12:58:41 PST 2023


Author: Philipp Tomsich
Date: 2023-01-29T21:55:12+01:00
New Revision: 4732e3cc1da3f05a550a42c135581e500f4195d6

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

LOG: [RISCV] Alphabetize X-extensions (and add a comment).  NFC.

Added: 
    

Modified: 
    llvm/lib/Support/RISCVISAInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/RISCVISAInfo.cpp b/llvm/lib/Support/RISCVISAInfo.cpp
index 205e28aa19ae..c4f4519e3b83 100644
--- a/llvm/lib/Support/RISCVISAInfo.cpp
+++ b/llvm/lib/Support/RISCVISAInfo.cpp
@@ -107,8 +107,10 @@ static const RISCVSupportedExtension SupportedExtensions[] = {
     {"svnapot", RISCVExtensionVersion{1, 0}},
     {"svpbmt", RISCVExtensionVersion{1, 0}},
     {"svinval", RISCVExtensionVersion{1, 0}},
-    {"xventanacondops", RISCVExtensionVersion{1, 0}},
+
+    /* vendor-defined ('X') extensions */
     {"xtheadvdot", RISCVExtensionVersion{1, 0}},
+    {"xventanacondops", RISCVExtensionVersion{1, 0}},
 };
 
 static const RISCVSupportedExtension SupportedExperimentalExtensions[] = {


        


More information about the llvm-commits mailing list