summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CodeGen/Cloog.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/polly/lib/CodeGen/Cloog.cpp b/polly/lib/CodeGen/Cloog.cpp
index ebf82b614e6..4ab44d2ab01 100644
--- a/polly/lib/CodeGen/Cloog.cpp
+++ b/polly/lib/CodeGen/Cloog.cpp
@@ -146,6 +146,9 @@ void Cloog::buildCloogOptions() {
Options->save_domains = 1;
Options->noscalars = 1;
+ // Compute simple hulls to reduce code generation time.
+ Options->sh = 1;
+
// The last loop depth to optimize should be the last scattering dimension.
// CLooG by default will continue to split the loops even after the last
// scattering dimension. This splitting is problematic for the schedules
OpenPOWER on IntegriCloud