[PATCH] D16274: Remove one dead PointerType::getElementType() call.
Manuel Jacob via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 17 14:32:27 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL258022: [NFC] Remove one dead PointerType::getElementType() call. (authored by mjacob).
Changed prior to commit:
http://reviews.llvm.org/D16274?vs=45113&id=45128#toc
Repository:
rL LLVM
http://reviews.llvm.org/D16274
Files:
llvm/trunk/lib/Analysis/VectorUtils.cpp
Index: llvm/trunk/lib/Analysis/VectorUtils.cpp
===================================================================
--- llvm/trunk/lib/Analysis/VectorUtils.cpp
+++ llvm/trunk/lib/Analysis/VectorUtils.cpp
@@ -318,8 +318,6 @@
// Strip off the size of access multiplication if we are still analyzing the
// pointer.
if (OrigPtr == Ptr) {
- const DataLayout &DL = Lp->getHeader()->getModule()->getDataLayout();
- DL.getTypeAllocSize(PtrTy->getElementType());
if (const SCEVMulExpr *M = dyn_cast<SCEVMulExpr>(V)) {
if (M->getOperand(0)->getSCEVType() != scConstant)
return nullptr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16274.45128.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/5ebb4045/attachment.bin>
More information about the llvm-commits
mailing list