diff --git a/llvm/lib/Target/RISCV/RISCVRegisterInfo.h b/llvm/lib/Target/RISCV/RISCVRegisterInfo.h --- a/llvm/lib/Target/RISCV/RISCVRegisterInfo.h +++ b/llvm/lib/Target/RISCV/RISCVRegisterInfo.h @@ -70,7 +70,7 @@ unsigned getRegisterCostTableIndex(const MachineFunction &MF) const override; bool isCCArgumentReg(MachineFunction &, MCRegister) const override { - llvm_unreachable("isCCArgumentReg not implmented for RISCV"); + llvm_unreachable("isCCArgumentReg not implemented for RISCV"); return false; } };