Browse Source

LiveVariables: Fix typo and shorten comment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264768 91177308-0d34-0410-b5e6-96231b3b80d8
Matthias Braun 9 years ago
parent
commit
f27ef7a795
1 changed files with 2 additions and 4 deletions
  1. 2 4
      lib/CodeGen/LiveVariables.cpp

+ 2 - 4
lib/CodeGen/LiveVariables.cpp

@@ -529,10 +529,8 @@ void LiveVariables::runOnInstr(MachineInstr *MI,
         UseRegs.push_back(MOReg);
         UseRegs.push_back(MOReg);
     } else {
     } else {
       assert(MO.isDef());
       assert(MO.isDef());
-      // FIXME: We should not remove any dead flags. Howeve the MIPS RDDSP
-      // instruction needs it at the moment: RDDSP gets its implicit use
-      // operands added too late in the processing so InstrEmitter adds an
-      // incorrect dead flag because the uses are not yet visible.
+      // FIXME: We should not remove any dead flags. However the MIPS RDDSP
+      // instruction needs it at the moment: http://llvm.org/PR27116.
       if (TargetRegisterInfo::isPhysicalRegister(MOReg) &&
       if (TargetRegisterInfo::isPhysicalRegister(MOReg) &&
           !MRI->isReserved(MOReg))
           !MRI->isReserved(MOReg))
         MO.setIsDead(false);
         MO.setIsDead(false);