[llvm-commits] [llvm] r146996 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Akira Hatanaka
ahatanaka at mips.com
Tue Dec 20 14:09:36 PST 2011
Author: ahatanak
Date: Tue Dec 20 16:09:36 2011
New Revision: 146996
URL: http://llvm.org/viewvc/llvm-project?rev=146996&view=rev
Log:
Revert part of r146995 that was accidentally commmitted.
Modified:
llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp?rev=146996&r1=146995&r2=146996&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Tue Dec 20 16:09:36 2011
@@ -293,12 +293,6 @@
case ISD::ConstantFP: {
ConstantFPSDNode *CN = dyn_cast<ConstantFPSDNode>(Node);
if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) {
- if (Subtarget.hasMips64()) {
- SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), dl,
- Mips::ZERO_64, MVT::i64);
- return CurDAG->getMachineNode(Mips::DMTC1, dl, MVT::f64, Zero);
- }
-
SDValue Zero = CurDAG->getCopyFromReg(CurDAG->getEntryNode(), dl,
Mips::ZERO, MVT::i32);
return CurDAG->getMachineNode(Mips::BuildPairF64, dl, MVT::f64, Zero,
More information about the llvm-commits
mailing list