[llvm-commits] [llvm] r95780 - /llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
Dan Gohman
gohman at apple.com
Wed Feb 10 07:54:23 PST 2010
Author: djg
Date: Wed Feb 10 09:54:22 2010
New Revision: 95780
URL: http://llvm.org/viewvc/llvm-project?rev=95780&view=rev
Log:
Minor code simplification.
Modified:
llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
Modified: llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h?rev=95780&r1=95779&r2=95780&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h (original)
+++ llvm/trunk/include/llvm/Analysis/ScalarEvolutionExpressions.h Wed Feb 10 09:54:22 2010
@@ -412,8 +412,7 @@
}
virtual bool hasComputableLoopEvolution(const Loop *QL) const {
- if (L == QL) return true;
- return false;
+ return L == QL;
}
virtual bool isLoopInvariant(const Loop *QueryLoop) const;
More information about the llvm-commits
mailing list