diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-08-14 03:14:50 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-08-14 03:14:50 +0000 |
commit | 55eec8be9e6cb5cbf21fdea179e44aa02f60483d (patch) | |
tree | 3792035838401d975b1ab10f3ade25d518cec5d0 /llvm/lib/Analysis | |
parent | 79687faee6fdf7a892421b1a5bea580edde696be (diff) | |
download | bcm5719-llvm-55eec8be9e6cb5cbf21fdea179e44aa02f60483d.tar.gz bcm5719-llvm-55eec8be9e6cb5cbf21fdea179e44aa02f60483d.zip |
[PM/AA] Clean up the SCEV-AA comment formatting and typos.
llvm-svn: 245015
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp b/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp index 5b04f007081..58d3322683a 100644 --- a/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp +++ b/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp @@ -48,8 +48,9 @@ bool ScalarEvolutionAliasAnalysis::runOnFunction(Function &F) { return false; } -/// GetBaseValue - Given an expression, try to find a -/// base value. Return null is none was found. +/// Given an expression, try to find a base value. +/// +/// Returns null if none was found. Value *ScalarEvolutionAliasAnalysis::GetBaseValue(const SCEV *S) { if (const SCEVAddRecExpr *AR = dyn_cast<SCEVAddRecExpr>(S)) { // In an addrec, assume that the base will be in the start, rather |