summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2019-03-19 16:49:59 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2019-03-19 16:49:59 +0000
commit7a8e5051f412e669cbf60c5406c70239d6518eea (patch)
treea48a6d2e9ee0a266838ea4502a8d8e1b6213e9fa /llvm/lib/Target/ARM/ARMISelLowering.cpp
parent376c87fcd42bbc5a4689a5f3d0efef4a654eb618 (diff)
downloadbcm5719-llvm-7a8e5051f412e669cbf60c5406c70239d6518eea.tar.gz
bcm5719-llvm-7a8e5051f412e669cbf60c5406c70239d6518eea.zip
Fix unused variable warning. NFCI.
llvm-svn: 356474
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp
index c1482822bc6..be6d11a962a 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.cpp
+++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp
@@ -14418,8 +14418,7 @@ SDValue ARMTargetLowering::LowerFP_ROUND(SDValue Op, SelectionDAG &DAG) const {
void ARMTargetLowering::lowerABS(SDNode *N, SmallVectorImpl<SDValue> &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;
OpenPOWER on IntegriCloud