summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-11-10 02:35:13 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-11-10 02:35:13 +0000
commit05671ea10af98ae128b9d7447e43b287c9e40a16 (patch)
treec7fa3f6ad60f4c2c309e57fdefdfccacf64953d3 /llvm
parent9f23a149cbe1f3f8a21aa4d20d867459235f901d (diff)
downloadbcm5719-llvm-05671ea10af98ae128b9d7447e43b287c9e40a16.tar.gz
bcm5719-llvm-05671ea10af98ae128b9d7447e43b287c9e40a16.zip
Fix PR5445
llvm-svn: 86651
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/Mips/MipsInstrFPU.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsInstrFPU.td b/llvm/lib/Target/Mips/MipsInstrFPU.td
index bd61738ecff..8fa1c657098 100644
--- a/llvm/lib/Target/Mips/MipsInstrFPU.td
+++ b/llvm/lib/Target/Mips/MipsInstrFPU.td
@@ -281,7 +281,7 @@ def MOVCCRToCCR : MipsPseudo<(outs CCR:$dst), (ins CCR:$src),
// Floating Point Patterns
//===----------------------------------------------------------------------===//
def fpimm0 : PatLeaf<(fpimm), [{
- return N->isExactlyValue(+0.0);
+ return N->isExactlyValue(+0.0) || N->isExactlyValue(-0.0);
}]>;
def : Pat<(f32 fpimm0), (MTC1 ZERO)>;
OpenPOWER on IntegriCloud