[llvm] r254580 - Add a TODO item that the nop handling before FP conditional branches is

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 18:35:24 PST 2015


Author: joerg
Date: Wed Dec  2 20:35:24 2015
New Revision: 254580

URL: http://llvm.org/viewvc/llvm-project?rev=254580&view=rev
Log:
Add a TODO item that the nop handling before FP conditional branches is
not enough for SPARCv7.

Modified:
    llvm/trunk/lib/Target/Sparc/DelaySlotFiller.cpp

Modified: llvm/trunk/lib/Target/Sparc/DelaySlotFiller.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/DelaySlotFiller.cpp?rev=254580&r1=254579&r2=254580&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/DelaySlotFiller.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/DelaySlotFiller.cpp Wed Dec  2 20:35:24 2015
@@ -122,6 +122,8 @@ bool Filler::runOnMachineBasicBlock(Mach
       continue;
     }
 
+    // TODO: If we ever want to support v7, this needs to be extended
+    // to cover all floating point operations.
     if (!Subtarget->isV9() &&
         (MI->getOpcode() == SP::FCMPS || MI->getOpcode() == SP::FCMPD
          || MI->getOpcode() == SP::FCMPQ)) {




More information about the llvm-commits mailing list