Cloog: Compute simple hulls during code generation

Sven suggested to use this simpler code generation strategy as the convex_hull
computation is apparently rather inefficient. We do not have a test case that
shows a difference, but, in case we find a test case where this makes a
difference, we can reconsider our decission.

llvm-svn: 201997
This commit is contained in:
Tobias Grosser 2014-02-23 22:39:37 +00:00
parent facca1f049
commit ad02500526
1 changed files with 3 additions and 0 deletions

View File

@ -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