[llvm] b7017ef - [RISCV] Rename sf_vcix_state to sf.vcix_state. NFC (#107115)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 08:01:08 PDT 2024
Author: Brandon Wu
Date: 2024-09-03T23:01:05+08:00
New Revision: b7017ef44827314758ba32c97eacb2d3f08c18e6
URL: https://github.com/llvm/llvm-project/commit/b7017ef44827314758ba32c97eacb2d3f08c18e6
DIFF: https://github.com/llvm/llvm-project/commit/b7017ef44827314758ba32c97eacb2d3f08c18e6.diff
LOG: [RISCV] Rename sf_vcix_state to sf.vcix_state. NFC (#107115)
This PR: https://github.com/llvm/llvm-project/pull/106995 names the
vendor CSR in a wrong way, it should be `sf.` rather than `sf_` for
prefix.
Added:
Modified:
llvm/lib/Target/RISCV/RISCVRegisterInfo.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVRegisterInfo.td b/llvm/lib/Target/RISCV/RISCVRegisterInfo.td
index ce9f9e39154c2b..5725d8eda88ced 100644
--- a/llvm/lib/Target/RISCV/RISCVRegisterInfo.td
+++ b/llvm/lib/Target/RISCV/RISCVRegisterInfo.td
@@ -665,4 +665,4 @@ def FRM : RISCVReg<0, "frm">;
def SSP : RISCVReg<0, "ssp">;
// Dummy SiFive VCIX state register
-def SF_VCIX_STATE : RISCVReg<0, "sf_vcix_state">;
+def SF_VCIX_STATE : RISCVReg<0, "sf.vcix_state">;
More information about the llvm-commits
mailing list