[llvm] 25ddac9 - [RISCV] Use Register instead of unsigned. NFC
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 30 22:59:06 PST 2022
Author: Craig Topper
Date: 2022-11-30T22:52:02-08:00
New Revision: 25ddac98f8face6bb184fff9c5a2e1651ba44bf5
URL: https://github.com/llvm/llvm-project/commit/25ddac98f8face6bb184fff9c5a2e1651ba44bf5
DIFF: https://github.com/llvm/llvm-project/commit/25ddac98f8face6bb184fff9c5a2e1651ba44bf5.diff
LOG: [RISCV] Use Register instead of unsigned. NFC
Added:
Modified:
llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp b/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
index 14191f987479..e134fb3f7bf6 100644
--- a/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
+++ b/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp
@@ -424,7 +424,7 @@ bool RISCVRegisterInfo::getRegAllocationHints(
return BaseImplRetVal;
// Add any two address hints after any copy hints.
- SmallSet<unsigned, 4> TwoAddrHints;
+ SmallSet<Register, 4> TwoAddrHints;
auto tryAddHint = [&](const MachineOperand &VRRegMO, const MachineOperand &MO,
bool NeedGPRC) -> void {
More information about the llvm-commits
mailing list