diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-11-14 07:04:07 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2013-11-14 07:04:07 +0000 |
commit | f116f8a63fb26feb0f8c59ba4d69d7954393d7d1 (patch) | |
tree | 5bcf30b46f3df0eb8c9c7102453b3a4359347946 | |
parent | 72cf01cc7c8f668a17e7fdfe6aaed50e164cac1b (diff) | |
download | external_llvm-f116f8a63fb26feb0f8c59ba4d69d7954393d7d1.zip external_llvm-f116f8a63fb26feb0f8c59ba4d69d7954393d7d1.tar.gz external_llvm-f116f8a63fb26feb0f8c59ba4d69d7954393d7d1.tar.bz2 |
AArch64DAGToDAGISel::SelectVTBL(): Fix a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194679 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/AArch64/AArch64ISelDAGToDAG.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp b/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp index 872f99c..b95adaf 100644 --- a/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp +++ b/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp @@ -733,9 +733,7 @@ SDNode *AArch64DAGToDAGISel::SelectVTBL(SDNode *N, unsigned NumVecs, // Check the element of look up table is 64-bit or not unsigned Vec0Idx = IsExt ? 2 : 1; - SDValue V0 = N->getOperand(Vec0Idx + 0); - EVT VT = V0.getValueType(); - assert(!VT.is64BitVector() && + assert(!N->getOperand(Vec0Idx + 0).getValueType().is64BitVector() && "The element of lookup table for vtbl and vtbx must be 128-bit"); // Check the return value type is 64-bit or not |