[PATCH] D17381: [Polly] [RFC] Memory reference level dependency analysis

Hongbin Zheng via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 18 09:09:28 PST 2016


etherzhhb marked an inline comment as done.

================
Comment at: lib/Analysis/DependenceInfo.cpp:126
@@ +125,3 @@
+      if (OptAnalysisLevel == REFERENCE_LEVEL_ANALYSIS)
+        accdom = tag(accdom, MA->getArrayId());
+
----------------
grosser wrote:
> etherzhhb wrote:
> > we can tag it with MA->getId() as well
> MA->getId() will allow you to distinguish two accesses in the same statement to the same array, but by a different instruction.
> 
> polly_array_ref is just a name. If polly_memory_access sounds better, we can easily change it.
> MA->getId() will allow you to distinguish two accesses in the same statement to the same array, but by a different instruction.
yes, we can actually have 3 analyses at 3 different levels.


Repository:
  rL LLVM

http://reviews.llvm.org/D17381





More information about the llvm-commits mailing list