[llvm] b582bfb - [RISCV][NFC] Fix comment in RISCVISAInfo after f98ca363bed

Alex Bradbury via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 01:52:44 PDT 2023


Author: Alex Bradbury
Date: 2023-04-18T09:50:53+01:00
New Revision: b582bfb60ea7935fef9d3db7f8773ec97489fb7f

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

LOG: [RISCV][NFC] Fix comment in RISCVISAInfo after f98ca363bed

My fault for missing this in initial review -
f98ca363bed7405a23ad4b77167e39505a1ca9dd didn't properly update the
comment to reflect the change.

Added: 
    

Modified: 
    llvm/lib/Support/RISCVISAInfo.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/RISCVISAInfo.cpp b/llvm/lib/Support/RISCVISAInfo.cpp
index 85386dfa9bba..7cfadec082fd 100644
--- a/llvm/lib/Support/RISCVISAInfo.cpp
+++ b/llvm/lib/Support/RISCVISAInfo.cpp
@@ -758,7 +758,7 @@ RISCVISAInfo::parseArchString(StringRef Arch, bool EnableExperimentalExtension,
   // Parse the ISA string containing non-standard user-level
   // extensions, standard supervisor-level extensions and
   // non-standard supervisor-level extensions.
-  // These extensions start with 'z', 's', 's', 'sx' prefixes, follow a
+  // These extensions start with 'z', 's', 'x', 'sx' prefixes, follow a
   // canonical order, might have a version number (major, minor)
   // and are separated by a single underscore '_'.
   // Set the hardware features for the extensions that are supported.


        


More information about the llvm-commits mailing list