[llvm] 1ffcac1 - [RISCV][GISel] Rename ValueMappingsIdx->ValueMappingIdx. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 12 00:09:21 PST 2023
Author: Craig Topper
Date: 2023-11-12T00:09:10-08:00
New Revision: 1ffcac1b077afecff4b57b2ceec73c9bcb847389
URL: https://github.com/llvm/llvm-project/commit/1ffcac1b077afecff4b57b2ceec73c9bcb847389
DIFF: https://github.com/llvm/llvm-project/commit/1ffcac1b077afecff4b57b2ceec73c9bcb847389.diff
LOG: [RISCV][GISel] Rename ValueMappingsIdx->ValueMappingIdx. NFC
This is consistent with other targets.
Added:
Modified:
llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp b/llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
index a9908abf642372c..3cd6c9accd88d50 100644
--- a/llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
+++ b/llvm/lib/Target/RISCV/GISel/RISCVRegisterBankInfo.cpp
@@ -59,7 +59,7 @@ const RegisterBankInfo::ValueMapping ValueMappings[] = {
{&PartMappings[PMI_FPRB64], 1},
};
-enum ValueMappingsIdx {
+enum ValueMappingIdx {
InvalidIdx = 0,
GPRB32Idx = 1,
GPRB64Idx = 4,
More information about the llvm-commits
mailing list