[llvm] r264768 - LiveVariables: Fix typo and shorten comment

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 12:07:41 PDT 2016


Author: matze
Date: Tue Mar 29 14:07:40 2016
New Revision: 264768

URL: http://llvm.org/viewvc/llvm-project?rev=264768&view=rev
Log:
LiveVariables: Fix typo and shorten comment

Modified:
    llvm/trunk/lib/CodeGen/LiveVariables.cpp

Modified: llvm/trunk/lib/CodeGen/LiveVariables.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveVariables.cpp?rev=264768&r1=264767&r2=264768&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveVariables.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveVariables.cpp Tue Mar 29 14:07:40 2016
@@ -529,10 +529,8 @@ void LiveVariables::runOnInstr(MachineIn
         UseRegs.push_back(MOReg);
     } else {
       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) &&
           !MRI->isReserved(MOReg))
         MO.setIsDead(false);




More information about the llvm-commits mailing list