From c0ebe8e8427c642b7bac0417fc5be3022f5b625d Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Thu, 3 Dec 2015 02:35:24 +0000 Subject: [PATCH] Add a TODO item that the nop handling before FP conditional branches is 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Target/Sparc/DelaySlotFiller.cpp b/lib/Target/Sparc/DelaySlotFiller.cpp index 38bff44e754..c689b7f7201 100644 --- a/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/lib/Target/Sparc/DelaySlotFiller.cpp @@ -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)) { -- 2.34.1