From: Jakob Stoklund Olesen Date: Fri, 3 Sep 2010 00:35:13 +0000 (+0000) Subject: Remove Predicate_* calls from Mips X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7fa846f7d92db26fc516754df5e762c36d3ed013;p=oota-llvm.git Remove Predicate_* calls from Mips git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112919 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsISelDAGToDAG.cpp b/lib/Target/Mips/MipsISelDAGToDAG.cpp index def8cf83180..a47cf7b4f20 100644 --- a/lib/Target/Mips/MipsISelDAGToDAG.cpp +++ b/lib/Target/Mips/MipsISelDAGToDAG.cpp @@ -184,8 +184,9 @@ SDNode *MipsDAGToDAGISel::SelectLoadFp64(SDNode *N) { if (!Subtarget.isMips1() || NVT != MVT::f64) return NULL; - if (!Predicate_unindexedload(N) || - !Predicate_load(N)) + LoadSDNode *LN = cast(N); + if (LN->getExtensionType() != ISD::NON_EXTLOAD || + LN->getAddressingMode() != ISD::UNINDEXED) return NULL; SDValue Chain = N->getOperand(0);