diff options
author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-07-12 15:32:30 +0000 |
---|---|---|
committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-07-12 15:32:30 +0000 |
commit | 6cbb5a478ee5a81528c98cc1d907264a14c975e9 (patch) | |
tree | 9b1ff18819cf5b1b9be287cd30165e417358d71b /polly | |
parent | 14ba3d77305cb457924a3e56b6cede4b8a41867a (diff) | |
download | llvm-6cbb5a478ee5a81528c98cc1d907264a14c975e9.zip llvm-6cbb5a478ee5a81528c98cc1d907264a14c975e9.tar.gz llvm-6cbb5a478ee5a81528c98cc1d907264a14c975e9.tar.bz2 |
[NFC] [SCEVValidator] Make parameter name of `hasScalarDepsInsideRegion` consistent.
`SCEV` parameter is called as `Expr` in `SCEVValidator.cpp`, as well
as in other functions in `SCEVValidator.h`.
llvm-svn: 307800
Diffstat (limited to 'polly')
-rw-r--r-- | polly/include/polly/Support/SCEVValidator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/polly/include/polly/Support/SCEVValidator.h b/polly/include/polly/Support/SCEVValidator.h index b3bf5a7..0188760 100644 --- a/polly/include/polly/Support/SCEVValidator.h +++ b/polly/include/polly/Support/SCEVValidator.h @@ -65,12 +65,12 @@ void findValues(const llvm::SCEV *Expr, llvm::ScalarEvolution &SE, /// Returns true when the SCEV contains references to instructions within the /// region. /// -/// @param S The SCEV to analyze. +/// @param Expr The SCEV to analyze. /// @param R The region in which we look for dependences. /// @param Scope Location where the value is needed. /// @param AllowLoops Whether loop recurrences outside the loop that are in the /// region count as dependence. -bool hasScalarDepsInsideRegion(const llvm::SCEV *S, const llvm::Region *R, +bool hasScalarDepsInsideRegion(const llvm::SCEV *Expr, const llvm::Region *R, llvm::Loop *Scope, bool AllowLoops); bool isAffineExpr(const llvm::Region *R, llvm::Loop *Scope, const llvm::SCEV *Expression, llvm::ScalarEvolution &SE, |