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

Venkata Ramanaiah Nalamothu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 14 00:03:40 PDT 2021


RamNalamothu created this revision.
RamNalamothu added reviewers: arsenm, scott.linder.
RamNalamothu requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109743

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


Index: llvm/include/llvm/CodeGen/MachineRegisterInfo.h
===================================================================
--- llvm/include/llvm/CodeGen/MachineRegisterInfo.h
+++ llvm/include/llvm/CodeGen/MachineRegisterInfo.h
@@ -964,7 +964,7 @@
   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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109743.372414.patch
Type: text/x-patch
Size: 606 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210914/4658a315/attachment.bin>


More information about the llvm-commits mailing list