[polly] r259495 - ScopInfo: Rename AccessType -> ElementType to unify naming with method declaration

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 05:22:54 PST 2016


Author: grosser
Date: Tue Feb  2 07:22:54 2016
New Revision: 259495

URL: http://llvm.org/viewvc/llvm-project?rev=259495&view=rev
Log:
ScopInfo: Rename AccessType -> ElementType to unify naming with method declaration

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=259495&r1=259494&r2=259495&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Tue Feb  2 07:22:54 2016
@@ -2975,13 +2975,13 @@ void Scop::hoistInvariantLoads() {
 }
 
 const ScopArrayInfo *
-Scop::getOrCreateScopArrayInfo(Value *BasePtr, Type *AccessType,
+Scop::getOrCreateScopArrayInfo(Value *BasePtr, Type *ElementType,
                                ArrayRef<const SCEV *> Sizes,
                                ScopArrayInfo::MemoryKind Kind) {
   auto &SAI = ScopArrayInfoMap[std::make_pair(BasePtr, Kind)];
   if (!SAI) {
     auto &DL = getRegion().getEntry()->getModule()->getDataLayout();
-    SAI.reset(new ScopArrayInfo(BasePtr, AccessType, getIslCtx(), Sizes, Kind,
+    SAI.reset(new ScopArrayInfo(BasePtr, ElementType, getIslCtx(), Sizes, Kind,
                                 DL, this));
   } else {
     // In case of mismatching array sizes, we bail out by setting the run-time




More information about the llvm-commits mailing list