[PATCH] D16274: Remove one dead getPointerElementType() call.
Eduard Burtescu via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 17 11:29:51 PST 2016
eddyb created this revision.
eddyb added a reviewer: mjacob.
eddyb added subscribers: dblaikie, llvm-commits.
http://reviews.llvm.org/D16274
Files:
lib/Analysis/VectorUtils.cpp
Index: lib/Analysis/VectorUtils.cpp
===================================================================
--- lib/Analysis/VectorUtils.cpp
+++ 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.45113.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160117/816856bc/attachment.bin>
More information about the llvm-commits
mailing list