From eea77acda7b8da97b58c8d5d2ae8034bb45aa52b Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Tue, 19 Mar 2019 16:49:59 +0000 Subject: [PATCH] Fix unused variable warning. NFCI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356474 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMISelLowering.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index c1482822bc6..be6d11a962a 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -14418,8 +14418,7 @@ SDValue ARMTargetLowering::LowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const { void ARMTargetLowering::lowerABS(SDNode *N, SmallVectorImpl &Results, SelectionDAG &DAG) const { - EVT VT = N->getValueType(0); - assert(VT == MVT::i64 && "Unexpected type (!= i64) on ABS."); + assert(N->getValueType(0) == MVT::i64 && "Unexpected type (!= i64) on ABS."); MVT HalfT = MVT::i32; SDLoc dl(N); SDValue Hi, Lo, Tmp; -- 2.50.1