Add a TODO item that the nop handling before FP conditional branches is
authorJoerg Sonnenberger <joerg@bec.de>
Thu, 3 Dec 2015 02:35:24 +0000 (02:35 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Thu, 3 Dec 2015 02:35:24 +0000 (02:35 +0000)
not enough for SPARCv7.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254580 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Sparc/DelaySlotFiller.cpp

index 38bff44e7542533b6a6e8ed71eebc43816b31aa9..c689b7f7201e207c3d56999f4f7d58b1b6fe1bc3 100644 (file)
@@ -122,6 +122,8 @@ bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) {
       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)) {