[llvm] r356474 - Fix unused variable warning. NFCI.
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 09:49:59 PDT 2019
Author: rksimon
Date: Tue Mar 19 09:49:59 2019
New Revision: 356474
URL: http://llvm.org/viewvc/llvm-project?rev=356474&view=rev
Log:
Fix unused variable warning. NFCI.
Modified:
llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp?rev=356474&r1=356473&r2=356474&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMISelLowering.cpp Tue Mar 19 09:49:59 2019
@@ -14418,8 +14418,7 @@ SDValue ARMTargetLowering::LowerFP_ROUND
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;
More information about the llvm-commits
mailing list