[llvm] bbd7eac - [AArch64] Remove an unused variable in my previous patch

John Brawn via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 08:39:56 PST 2022


Author: John Brawn
Date: 2022-02-17T16:39:44Z
New Revision: bbd7eac800e6505f10a0931da8c5b1ff2ac66bef

URL: https://github.com/llvm/llvm-project/commit/bbd7eac800e6505f10a0931da8c5b1ff2ac66bef
DIFF: https://github.com/llvm/llvm-project/commit/bbd7eac800e6505f10a0931da8c5b1ff2ac66bef.diff

LOG: [AArch64] Remove an unused variable in my previous patch

Added: 
    

Modified: 
    llvm/lib/Target/AArch64/AArch64ISelLowering.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 58a853c2ddf8..185e18e884fa 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -3477,7 +3477,6 @@ SDValue AArch64TargetLowering::LowerVectorFP_TO_INT(SDValue Op,
         ISD::EXTRACT_VECTOR_ELT, dl, InVT.getScalarType(),
         Op.getOperand(IsStrict ? 1 : 0), DAG.getConstant(0, dl, MVT::i64));
     EVT ScalarVT = VT.getScalarType();
-    SDValue ScalarCvt;
     if (IsStrict)
       return DAG.getNode(Op.getOpcode(), dl, {ScalarVT, MVT::Other},
                          {Op.getOperand(0), Extract});


        


More information about the llvm-commits mailing list