summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2016-03-14 17:28:46 +0000
committerSanjay Patel <spatel@rotateright.com>2016-03-14 17:28:46 +0000
commit57195841291c581146cf0890172c69b066d0ec6f (patch)
tree699c2e313f2ae75b33f1e3744b80b04dff7354aa /llvm/lib/Target/Mips
parent331f981cc9d35374cce27e0c9a1b16aca6070695 (diff)
downloadbcm5719-llvm-57195841291c581146cf0890172c69b066d0ec6f.tar.gz
bcm5719-llvm-57195841291c581146cf0890172c69b066d0ec6f.zip
[DAG] use isUndef() ; NFCI
llvm-svn: 263448
Diffstat (limited to 'llvm/lib/Target/Mips')
-rw-r--r--llvm/lib/Target/Mips/MipsSEISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp
index e040b782564..b1b6aba66f3 100644
--- a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp
+++ b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp
@@ -2311,7 +2311,7 @@ lowerEXTRACT_VECTOR_ELT(SDValue Op, SelectionDAG &DAG) const {
}
static bool isConstantOrUndef(const SDValue Op) {
- if (Op->getOpcode() == ISD::UNDEF)
+ if (Op->isUndef())
return true;
if (isa<ConstantSDNode>(Op))
return true;
OpenPOWER on IntegriCloud