Fix PR5445

llvm-svn: 86651
This commit is contained in:
Bruno Cardoso Lopes 2009-11-10 02:35:13 +00:00
parent 04da9d4b33
commit b662991460

View File

@ -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)>;