From bd32386410402e5f8d6b1f84f36e6846ef9d814c Mon Sep 17 00:00:00 2001 From: David Green Date: Tue, 3 Nov 2020 12:58:10 +0000 Subject: [PATCH] [ARM] Remove unused variable. NFC --- llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp index 8991654..cbd28b4 100644 --- a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp +++ b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp @@ -969,7 +969,6 @@ int ARMTTIImpl::getNumMemOps(const IntrinsicInst *I) const { const unsigned Size = C->getValue().getZExtValue(); const Align DstAlign = *MC->getDestAlign(); const Align SrcAlign = *MC->getSourceAlign(); - const Function *F = I->getParent()->getParent(); std::vector MemOps; MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign, -- 2.7.4