From: Vasileios Kalintiris Date: Fri, 13 Feb 2015 19:12:16 +0000 (+0000) Subject: [mips] Use isa<> instead of dyn_cast<> with unused value. NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=00c4738c11d3648b24c8b1591e008091124e0707;p=oota-llvm.git [mips] Use isa<> instead of dyn_cast<> with unused value. NFC. Reviewers: dsanders Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D7615 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Mips/MipsSEISelLowering.cpp b/lib/Target/Mips/MipsSEISelLowering.cpp index daeb20c0dde..e180cb05420 100644 --- a/lib/Target/Mips/MipsSEISelLowering.cpp +++ b/lib/Target/Mips/MipsSEISelLowering.cpp @@ -2291,9 +2291,9 @@ lowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const { static bool isConstantOrUndef(const SDValue Op) { if (Op->getOpcode() == ISD::UNDEF) return true; - if (dyn_cast(Op)) + if (isa(Op)) return true; - if (dyn_cast(Op)) + if (isa(Op)) return true; return false; }