[polly] r261864 - Simplify code [NFC]
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 25 06:07:49 PST 2016
Author: jdoerfert
Date: Thu Feb 25 08:07:49 2016
New Revision: 261864
URL: http://llvm.org/viewvc/llvm-project?rev=261864&view=rev
Log:
Simplify code [NFC]
Modified:
polly/trunk/lib/Analysis/ScopDetection.cpp
Modified: polly/trunk/lib/Analysis/ScopDetection.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopDetection.cpp?rev=261864&r1=261863&r2=261864&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopDetection.cpp (original)
+++ polly/trunk/lib/Analysis/ScopDetection.cpp Thu Feb 25 08:07:49 2016
@@ -224,14 +224,9 @@ void DiagnosticScopFound::print(Diagnost
// ScopDetection.
ScopDetection::ScopDetection() : FunctionPass(ID) {
- if (!PollyUseRuntimeAliasChecks)
- return;
-
// Disable runtime alias checks if we ignore aliasing all together.
- if (IgnoreAliasing) {
+ if (IgnoreAliasing)
PollyUseRuntimeAliasChecks = false;
- return;
- }
}
template <class RR, typename... Args>
More information about the llvm-commits
mailing list