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 | 494f77c19cb3597750c422f7e07adbb0b8f9b713 (patch) | |
tree | 1e9d1b5409e3cb880fc942cf068ba329cb739c04 | |
parent | a35bb5c62aa6a6a4c4adcb7fb955eee33d10d7ef (diff) | |
download | bcm5719-llvm-494f77c19cb3597750c422f7e07adbb0b8f9b713.tar.gz bcm5719-llvm-494f77c19cb3597750c422f7e07adbb0b8f9b713.zip |
test commit: added a few comments
llvm-svn: 168445
-rw-r--r-- | llvm/include/llvm/Analysis/DependenceAnalysis.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/include/llvm/Analysis/DependenceAnalysis.h b/llvm/include/llvm/Analysis/DependenceAnalysis.h index 39f57208ee4..1983c00c573 100644 --- a/llvm/include/llvm/Analysis/DependenceAnalysis.h +++ b/llvm/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. // |