[llvm-commits] [llvm] r112919 - /llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp

Jakob Stoklund Olesen stoklund at 2pi.dk
Thu Sep 2 17:35:13 PDT 2010


Author: stoklund
Date: Thu Sep  2 19:35:13 2010
New Revision: 112919

URL: http://llvm.org/viewvc/llvm-project?rev=112919&view=rev
Log:
Remove Predicate_* calls from Mips

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=112919&r1=112918&r2=112919&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsISelDAGToDAG.cpp Thu Sep  2 19:35:13 2010
@@ -184,8 +184,9 @@
   if (!Subtarget.isMips1() || NVT != MVT::f64)
     return NULL;
 
-  if (!Predicate_unindexedload(N) ||
-      !Predicate_load(N))
+  LoadSDNode *LN = cast<LoadSDNode>(N);
+  if (LN->getExtensionType() != ISD::NON_EXTLOAD ||
+      LN->getAddressingMode() != ISD::UNINDEXED)
     return NULL;
 
   SDValue Chain = N->getOperand(0);





More information about the llvm-commits mailing list