[llvm] bd32386 - [ARM] Remove unused variable. NFC
David Green via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 3 04:58:23 PST 2020
Author: David Green
Date: 2020-11-03T12:58:10Z
New Revision: bd32386410402e5f8d6b1f84f36e6846ef9d814c
URL: https://github.com/llvm/llvm-project/commit/bd32386410402e5f8d6b1f84f36e6846ef9d814c
DIFF: https://github.com/llvm/llvm-project/commit/bd32386410402e5f8d6b1f84f36e6846ef9d814c.diff
LOG: [ARM] Remove unused variable. NFC
Added:
Modified:
llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp b/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
index 899165449f1e..cbd28b47d8a3 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<EVT> MemOps;
MOp = MemOp::Copy(Size, /*DstAlignCanChange*/ false, DstAlign, SrcAlign,
More information about the llvm-commits
mailing list