[mips] Fix 'ran out of registers' in MIPS32 with FP64 when generating code for (Const...
authorDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 18 Nov 2013 13:12:43 +0000 (13:12 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Mon, 18 Nov 2013 13:12:43 +0000 (13:12 +0000)
commit23427207ea575f57b571cf5aad1effb1f97e7ee1
treec56200f4de80bf563f3e437966407ad29acc45e6
parent26651c7a6602626cf13ff3cda13f3ec2401bf790
[mips] Fix 'ran out of registers' in MIPS32 with FP64 when generating code for (ConstantFP 0.0)

Fixed an inappropriate use of BuildPairF64 when compiling for MIPS32 with FP64
which resulted in an impossible constraint on the register allocation. It now
uses BuildPairF64_64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195007 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
lib/Target/Mips/MipsSEInstrInfo.cpp
test/CodeGen/Mips/2013-11-18-fp64-const0.ll [new file with mode: 0644]