summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2015-08-14 03:14:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2015-08-14 03:14:50 +0000
commit55eec8be9e6cb5cbf21fdea179e44aa02f60483d (patch)
tree3792035838401d975b1ab10f3ade25d518cec5d0 /llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp
parent79687faee6fdf7a892421b1a5bea580edde696be (diff)
downloadbcm5719-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/ScalarEvolutionAliasAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp5
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
OpenPOWER on IntegriCloud