diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-11-10 02:35:13 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2009-11-10 02:35:13 +0000 |
commit | 734516d1f6a135baf6abe1c2874c80d4bada0039 (patch) | |
tree | 1f20140b32352524bb78d64a0166e410ac3fbf07 /lib/Target | |
parent | 70ce6d0819ffd5822bb176fffe94bcf29a1deda4 (diff) | |
download | external_llvm-734516d1f6a135baf6abe1c2874c80d4bada0039.zip external_llvm-734516d1f6a135baf6abe1c2874c80d4bada0039.tar.gz external_llvm-734516d1f6a135baf6abe1c2874c80d4bada0039.tar.bz2 |
Fix PR5445
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/Mips/MipsInstrFPU.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsInstrFPU.td b/lib/Target/Mips/MipsInstrFPU.td index bd61738..8fa1c65 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)>; |