summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-08-31 06:46:32 +0000
committerTobias Grosser <tobias@grosser.es>2015-08-31 06:46:32 +0000
commit58758ef4eae37921d08cb62cd648996f92878e44 (patch)
tree3fee981f43c1833e13825aff7b14825a9cbcbc18
parent6b0af3c832b5e4bbd89d6c55a9ba641688e3d2ec (diff)
downloadbcm5719-llvm-58758ef4eae37921d08cb62cd648996f92878e44.tar.gz
bcm5719-llvm-58758ef4eae37921d08cb62cd648996f92878e44.zip
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. llvm-svn: 246420
-rw-r--r--polly/lib/Analysis/TempScopInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Analysis/TempScopInfo.cpp b/polly/lib/Analysis/TempScopInfo.cpp
index bb242df9a71..c7479e5c68b 100644
--- a/polly/lib/Analysis/TempScopInfo.cpp
+++ b/polly/lib/Analysis/TempScopInfo.cpp
@@ -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"
OpenPOWER on IntegriCloud