[llvm] r194679 - AArch64DAGToDAGISel::SelectVTBL(): Fix a warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Wed Nov 13 23:04:07 PST 2013
Author: chapuni
Date: Thu Nov 14 01:04:07 2013
New Revision: 194679
URL: http://llvm.org/viewvc/llvm-project?rev=194679&view=rev
Log:
AArch64DAGToDAGISel::SelectVTBL(): Fix a warning. [-Wunused-variable]
Modified:
llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp?rev=194679&r1=194678&r2=194679&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp Thu Nov 14 01:04:07 2013
@@ -733,9 +733,7 @@ SDNode *AArch64DAGToDAGISel::SelectVTBL(
// 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
More information about the llvm-commits
mailing list