[PATCH] D13255: [LAA] LLE 2/6: Fix a NoDep case that should be a Forward dependence

Adam Nemet via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 10:28:42 PDT 2015


anemet created this revision.
anemet added a reviewer: hfinkel.
anemet added a subscriber: llvm-commits.

When the dependence distance in zero then we have a loop-independent
dependence from the earlier to the later access.

No current client of LAA uses forward dependences so other than
potentially hitting the MaxDependences threshold earlier, this change
shouldn't affect anything right now.

This and the previous patch were tested together for compile-time
regression.  None found in LNT/SPEC.

http://reviews.llvm.org/D13255

Files:
  include/llvm/Analysis/LoopAccessAnalysis.h
  lib/Analysis/LoopAccessAnalysis.cpp
  test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13255.35999.patch
Type: text/x-patch
Size: 4109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150929/ced7d574/attachment.bin>


More information about the llvm-commits mailing list