Fix typo
authorMatthias Braun <matze@braunis.de>
Fri, 4 Oct 2013 16:52:58 +0000 (16:52 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 4 Oct 2013 16:52:58 +0000 (16:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191964 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/ProcessImplicitDefs.cpp

index 886c7f1cc52449dd5edd870b1103e65c39bfa697..dd22a47b56502baef3bf063a30e6ba060c77b1b1 100644 (file)
@@ -545,7 +545,7 @@ void LiveIntervals::addKillFlags(const VirtRegMap *VRM) {
       if (!MI)
         continue;
 
-      // Check if any of the reguints are live beyond the end of RI. That could
+      // Check if any of the regunits are live beyond the end of RI. That could
       // happen when a physreg is defined as a copy of a virtreg:
       //
       //   %EAX = COPY %vreg5
index e4e18c3bb54b51e4abb2ec4e0f4bbd6d65e9b66e..0c5173aeadcb4ec0f088ed6bc6e585435660f991 100644 (file)
@@ -78,7 +78,7 @@ void ProcessImplicitDefs::processImplicitDef(MachineInstr *MI) {
   unsigned Reg = MI->getOperand(0).getReg();
 
   if (TargetRegisterInfo::isVirtualRegister(Reg)) {
-    // For virtual regiusters, mark all uses as <undef>, and convert users to
+    // For virtual registers, mark all uses as <undef>, and convert users to
     // implicit-def when possible.
     for (MachineRegisterInfo::use_nodbg_iterator UI =
          MRI->use_nodbg_begin(Reg),