mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
[PM/AA] Clean up the SCEV-AA comment formatting and typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245015 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user