summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2015-12-03 02:35:24 +0000
committerJoerg Sonnenberger <joerg@bec.de>2015-12-03 02:35:24 +0000
commit48eb19743455842a3cf3c8b945bc4d633e493da3 (patch)
tree0fa6ee192f9203a6d743d9391896b0a11cffcf71
parentbaf4b7d734f4600b4e3ce734ff4ae2075bce030b (diff)
downloadbcm5719-llvm-48eb19743455842a3cf3c8b945bc4d633e493da3.tar.gz
bcm5719-llvm-48eb19743455842a3cf3c8b945bc4d633e493da3.zip
Add a TODO item that the nop handling before FP conditional branches is
not enough for SPARCv7. llvm-svn: 254580
-rw-r--r--llvm/lib/Target/Sparc/DelaySlotFiller.cpp2
1 files changed, 2 insertions, 0 deletions
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)) {
OpenPOWER on IntegriCloud