Minor code simplification.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95780 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2010-02-10 15:54:22 +00:00
parent c9e31cc823
commit c056baed87

View File

@ -412,8 +412,7 @@ namespace llvm {
} }
virtual bool hasComputableLoopEvolution(const Loop *QL) const { virtual bool hasComputableLoopEvolution(const Loop *QL) const {
if (L == QL) return true; return L == QL;
return false;
} }
virtual bool isLoopInvariant(const Loop *QueryLoop) const; virtual bool isLoopInvariant(const Loop *QueryLoop) const;