[polly] r246420 - Enable modeling of scalar read-only dependences

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 30 23:46:32 PDT 2015


Author: grosser
Date: Mon Aug 31 01:46:32 2015
New Revision: 246420

URL: http://llvm.org/viewvc/llvm-project?rev=246420&view=rev
Log:
Enable modeling of scalar read-only dependences

Even though these are not strictly necessary for sequential code generation,
we still model both for sequential and parallel code generation to reduce
the set of configurations that needs to be tested. If this turns out, against
what we currently see, to be significant overhead, we can decide to limit this
feature again to parallel code-generation use cases only.

Modified:
    polly/trunk/lib/Analysis/TempScopInfo.cpp

Modified: polly/trunk/lib/Analysis/TempScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/TempScopInfo.cpp?rev=246420&r1=246419&r2=246420&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/TempScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/TempScopInfo.cpp Mon Aug 31 01:46:32 2015
@@ -38,7 +38,7 @@ using namespace polly;
 static cl::opt<bool> ModelReadOnlyScalars(
     "polly-analyze-read-only-scalars",
     cl::desc("Model read-only scalar values in the scop description"),
-    cl::Hidden, cl::ZeroOrMore, cl::init(false), cl::cat(PollyCategory));
+    cl::Hidden, cl::ZeroOrMore, cl::init(true), cl::cat(PollyCategory));
 
 #define DEBUG_TYPE "polly-analyze-ir"
 




More information about the llvm-commits mailing list