[llvm] [RISCV] Fix RISCVBitPositions typo (PR #110953)
Piyou Chen via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 2 21:16:56 PDT 2024
https://github.com/BeMg created https://github.com/llvm/llvm-project/pull/110953
This patch updates `{"zve64x", 0, 63},` into `{"zve64f", 0, 63},`.
Base on https://github.com/riscv-non-isa/riscv-c-api-doc/blob/main/src/c-api.adoc#extension-bitmask-definitions
>From 32da1352d79efff435e26e9645f0e461afc9c626 Mon Sep 17 00:00:00 2001
From: Piyou Chen <piyou.chen at sifive.com>
Date: Wed, 2 Oct 2024 21:13:29 -0700
Subject: [PATCH] [RISCV] Fix RISCVBitPositions typo
zve64x -> zve64f
---
llvm/lib/TargetParser/RISCVISAInfo.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/TargetParser/RISCVISAInfo.cpp b/llvm/lib/TargetParser/RISCVISAInfo.cpp
index 7fa3d8edec84d5..caa5a97747ee57 100644
--- a/llvm/lib/TargetParser/RISCVISAInfo.cpp
+++ b/llvm/lib/TargetParser/RISCVISAInfo.cpp
@@ -1049,7 +1049,7 @@ constexpr static RISCVExtBit RISCVBitPositions[] = {
{"zvksed", 0, 57}, {"zvksh", 0, 58},
{"zvkt", 0, 59}, {"zve32x", 0, 60},
{"zve32f", 0, 61}, {"zve64x", 0, 62},
- {"zve64x", 0, 63}, {"zve64d", 1, 0},
+ {"zve64f", 0, 63}, {"zve64d", 1, 0},
{"zimop", 1, 1}, {"zca", 1, 2},
{"zcb", 1, 3}, {"zcd", 1, 4},
{"zcf", 1, 5}, {"zcmop", 1, 6},
More information about the llvm-commits
mailing list