[llvm] 6403f71 - [NFC][MachineRegisterInfo] Fix typo in comments of getLiveInVirtReg() function

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 21:11:44 PDT 2021


Author: RamNalamothu
Date: 2021-09-17T09:41:34+05:30
New Revision: 6403f716f129bb9edad9423cf1c23dc8e29a41d5

URL: https://github.com/llvm/llvm-project/commit/6403f716f129bb9edad9423cf1c23dc8e29a41d5
DIFF: https://github.com/llvm/llvm-project/commit/6403f716f129bb9edad9423cf1c23dc8e29a41d5.diff

LOG: [NFC][MachineRegisterInfo] Fix typo in comments of getLiveInVirtReg() function

Reviewed By: scott.linder

Differential Revision: https://reviews.llvm.org/D109743

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/MachineRegisterInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
index ca3dd992bbd50..3756dc1b4588f 100644
--- a/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+++ b/llvm/include/llvm/CodeGen/MachineRegisterInfo.h
@@ -964,7 +964,7 @@ class MachineRegisterInfo {
   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


        


More information about the llvm-commits mailing list