From: Tobias Grosser Date: Mon, 3 Mar 2014 11:39:22 +0000 (+0000) Subject: re PR tree-optimization/58028 (Several failures in libgomp.graphite after revision... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81;p=gcc.git re PR tree-optimization/58028 (Several failures in libgomp.graphite after revision 200946) 2014-03-03 Tobias Grosser Mircea Namolaru PR tree-optimization/58028 * graphite-clast-to-gimple.c (set_cloog_options): Don't remove scalar dimensions. Co-Authored-By: Mircea Namolaru From-SVN: r208273 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 551e134e064..a1b4e547357 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-03-03 Tobias Grosser + Mircea Namolaru + + PR tree-optimization/58028 + * graphite-clast-to-gimple.c (set_cloog_options): Don't remove + scalar dimensions. + 2014-03-03 Ramana Radhakrishnan * config/arm/neon.md (*movmisalign): Legitimize addresses diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c index 0edeb29f15d..fc60845d85a 100644 --- a/gcc/graphite-clast-to-gimple.c +++ b/gcc/graphite-clast-to-gimple.c @@ -1522,6 +1522,13 @@ set_cloog_options (void) variables. */ options->save_domains = 1; + /* Do not remove scalar dimensions. CLooG by default removes scalar + dimensions very early from the input schedule. However, they are + necessary to correctly derive from the saved domains + (options->save_domains) the relationship between the generated loops + and the schedule dimensions they are generated from. */ + options->noscalars = 1; + /* Disable optimizations and make cloog generate source code closer to the input. This is useful for debugging, but later we want the optimized code.