[PATCH] D19886: Add ability to use DependenceAnalysis from LoopAccessAnalysis
Hongbin Zheng via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 11:45:21 PDT 2016
etherzhhb added a subscriber: etherzhhb.
================
Comment at: lib/Analysis/LoopAccessAnalysis.cpp:1212
@@ +1211,3 @@
+ // (Src - Sink).
+ Dist = PSE.getSE()->getNegativeSCEV(Dist);
+ }
----------------
In order to address @sbaranga's comment, perhaps we can rewrite Dist with SCEVPredicateRewriter using the existing Predicate from PSE to incorporate the existing runtime checks.
http://reviews.llvm.org/D19886
More information about the llvm-commits
mailing list