From 48eb19743455842a3cf3c8b945bc4d633e493da3 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Thu, 3 Dec 2015 02:35:24 +0000 Subject: Add a TODO item that the nop handling before FP conditional branches is not enough for SPARCv7. llvm-svn: 254580 --- llvm/lib/Target/Sparc/DelaySlotFiller.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/Target/Sparc') diff --git a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp b/llvm/lib/Target/Sparc/DelaySlotFiller.cpp index 38bff44e754..c689b7f7201 100644 --- a/llvm/lib/Target/Sparc/DelaySlotFiller.cpp +++ b/llvm/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)) { -- cgit v1.2.3