OSDN Git Service

Update comment to LoopAccessInfo after r251800. NFC
authorSilviu Baranga <silviu.baranga@arm.com>
Thu, 5 Nov 2015 15:55:41 +0000 (15:55 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Thu, 5 Nov 2015 15:55:41 +0000 (15:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252171 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopAccessAnalysis.h

index 9094294..77d412a 100644 (file)
@@ -503,6 +503,13 @@ private:
 /// generates run-time checks to prove independence.  This is done by
 /// AccessAnalysis::canCheckPtrAtRT and the checks are maintained by the
 /// RuntimePointerCheck class.
+///
+/// If pointers can wrap or can't be expressed as affine AddRec expressions by
+/// ScalarEvolution, we will generate run-time checks by emitting a
+/// SCEVUnionPredicate.
+///
+/// Checks for both memory dependences and SCEV predicates must be emitted in
+/// order for the results of this analysis to be valid.
 class LoopAccessInfo {
 public:
   LoopAccessInfo(Loop *L, ScalarEvolution *SE, const DataLayout &DL,