From b662991460513cd6694ec9946fb1a0b773572134 Mon Sep 17 00:00:00 2001 From: Bruno Cardoso Lopes Date: Tue, 10 Nov 2009 02:35:13 +0000 Subject: [PATCH] Fix PR5445 llvm-svn: 86651 --- lib/Target/Mips/MipsInstrFPU.td | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/Mips/MipsInstrFPU.td b/lib/Target/Mips/MipsInstrFPU.td index bd61738ecff..8fa1c657098 100644 --- a/lib/Target/Mips/MipsInstrFPU.td +++ b/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)>;