summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/ScopInfo.cpp
diff options
context:
space:
mode:
authorHongbin Zheng <etherzhhb@gmail.com>2016-02-26 09:47:11 +0000
committerHongbin Zheng <etherzhhb@gmail.com>2016-02-26 09:47:11 +0000
commitf3d6612c0a0b0337e270cbab29521f3aed959f8f (patch)
treea3af15ddae44b9cf8170f74433cb789db4aaab00 /polly/lib/Analysis/ScopInfo.cpp
parentf43e9925ee0e3fcf466bed68182b3ea79c14d5e9 (diff)
downloadbcm5719-llvm-f3d6612c0a0b0337e270cbab29521f3aed959f8f.tar.gz
bcm5719-llvm-f3d6612c0a0b0337e270cbab29521f3aed959f8f.zip
[MemAccInst] Introduce the '->' operator and remove the simple wrapper functions. NFC
llvm-svn: 261994
Diffstat (limited to 'polly/lib/Analysis/ScopInfo.cpp')
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index eeed8015fdc..bb62f5ce1b7 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -3926,7 +3926,7 @@ bool ScopInfo::buildAccessMultiDimParam(
cast<SCEVConstant>(Sizes.back())->getAPInt().getSExtValue();
Sizes.pop_back();
if (ElementSize != DelinearizedSize)
- scop->invalidate(DELINEARIZATION, Inst.getDebugLoc());
+ scop->invalidate(DELINEARIZATION, Inst->getDebugLoc());
addArrayAccess(Inst, Type, BasePointer->getValue(), ElementType, true,
AccItr->second.DelinearizedSubscripts, Sizes, Val);
@@ -4218,7 +4218,7 @@ void ScopInfo::addArrayAccess(MemAccInst MemAccInst,
ArrayRef<const SCEV *> Sizes,
Value *AccessValue) {
ArrayBasePointers.insert(BaseAddress);
- addMemoryAccess(MemAccInst.getParent(), MemAccInst, AccType, BaseAddress,
+ addMemoryAccess(MemAccInst->getParent(), MemAccInst, AccType, BaseAddress,
ElementType, IsAffine, AccessValue, Subscripts, Sizes,
ScopArrayInfo::MK_Array);
}
OpenPOWER on IntegriCloud