From 6403f716f129bb9edad9423cf1c23dc8e29a41d5 Mon Sep 17 00:00:00 2001 From: RamNalamothu Date: Tue, 14 Sep 2021 12:29:14 +0530 Subject: [PATCH] [NFC][MachineRegisterInfo] Fix typo in comments of getLiveInVirtReg() function Reviewed By: scott.linder Differential Revision: https://reviews.llvm.org/D109743 --- llvm/include/llvm/CodeGen/MachineRegisterInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h index ca3dd992bbd5..3756dc1b4588 100644 --- a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h +++ b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h @@ -964,7 +964,7 @@ public: MCRegister getLiveInPhysReg(Register VReg) const; /// getLiveInVirtReg - If PReg is a live-in physical register, return the - /// corresponding live-in physical register. + /// corresponding live-in virtual register. Register getLiveInVirtReg(MCRegister PReg) const; /// EmitLiveInCopies - Emit copies to initialize livein virtual registers