diff options
author | Preston Briggs <preston.briggs@gmail.com> | 2012-11-21 18:53:19 +0000 |
---|---|---|
committer | Preston Briggs <preston.briggs@gmail.com> | 2012-11-21 18:53:19 +0000 |
commit | d6f048959a8a747f7b8a2fe830e8589a106f090e (patch) | |
tree | 3875a050b4de60e8c073dc20bd02b09ec83f941e | |
parent | 34519fc11df5107cbaab627efe4ea21f811c4430 (diff) | |
download | external_llvm-d6f048959a8a747f7b8a2fe830e8589a106f090e.zip external_llvm-d6f048959a8a747f7b8a2fe830e8589a106f090e.tar.gz external_llvm-d6f048959a8a747f7b8a2fe830e8589a106f090e.tar.bz2 |
test commit: added a few comments
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168445 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/DependenceAnalysis.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/Analysis/DependenceAnalysis.h b/include/llvm/Analysis/DependenceAnalysis.h index 39f5720..1983c00 100644 --- a/include/llvm/Analysis/DependenceAnalysis.h +++ b/include/llvm/Analysis/DependenceAnalysis.h @@ -18,6 +18,16 @@ // of memory references in a function, returning either NULL, for no dependence, // or a more-or-less detailed description of the dependence between them. // +// This pass exists to support the DependenceGraph pass. There are two separate +// passes because there's a useful separation of concerns. A dependence exists +// if two conditions are met: +// +// 1) Two instructions reference the same memory location, and +// 2) There is a flow of control leading from one instruction to the other. +// +// DependenceAnalysis attacks the first condition; DependenceGraph will attack +// the second (it's not yet ready). +// // Please note that this is work in progress and the interface is subject to // change. // |