[llvm] [RISCV] Update the canonical extension order (PR #192392)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 15 21:46:28 PDT 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-support
Author: Taufiq Rahman (Inconnu08)
<details>
<summary>Changes</summary>
Fixes #<!-- -->192357.
Update the canonical order of one-letter standard RISC-V extensions in
RISCVISAUtils::AllStdExts to match the updated specification order, where
`p` moves after `v`.
---
Full diff: https://github.com/llvm/llvm-project/pull/192392.diff
1 Files Affected:
- (modified) llvm/include/llvm/Support/RISCVISAUtils.h (+1-1)
``````````diff
diff --git a/llvm/include/llvm/Support/RISCVISAUtils.h b/llvm/include/llvm/Support/RISCVISAUtils.h
index 05fd32e0e7cfe..f0cbb0d683738 100644
--- a/llvm/include/llvm/Support/RISCVISAUtils.h
+++ b/llvm/include/llvm/Support/RISCVISAUtils.h
@@ -21,7 +21,7 @@
namespace llvm {
namespace RISCVISAUtils {
-constexpr StringLiteral AllStdExts = "mafdqlcbkjtpvnh";
+constexpr StringLiteral AllStdExts = "mafdqlcbkjtvphn";
/// Represents the major and version number components of a RISC-V extension.
struct ExtensionVersion {
``````````
</details>
https://github.com/llvm/llvm-project/pull/192392
More information about the llvm-commits
mailing list