diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-10 15:54:22 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-10 15:54:22 +0000 |
commit | c056baed8704bd715ee58e5dfe724c255e68abbd (patch) | |
tree | 2ecc7e5122b7ee50d59a6d8ddbcc7025290a5a3c | |
parent | c9e31cc8232892b30dac38f97c90ebc41428f59a (diff) | |
download | external_llvm-c056baed8704bd715ee58e5dfe724c255e68abbd.zip external_llvm-c056baed8704bd715ee58e5dfe724c255e68abbd.tar.gz external_llvm-c056baed8704bd715ee58e5dfe724c255e68abbd.tar.bz2 |
Minor code simplification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95780 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/ScalarEvolutionExpressions.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpressions.h b/include/llvm/Analysis/ScalarEvolutionExpressions.h index 79d4c63..3645a5b 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpressions.h +++ b/include/llvm/Analysis/ScalarEvolutionExpressions.h @@ -412,8 +412,7 @@ namespace llvm { } virtual bool hasComputableLoopEvolution(const Loop *QL) const { - if (L == QL) return true; - return false; + return L == QL; } virtual bool isLoopInvariant(const Loop *QueryLoop) const; |