diff options
author | Tobias Grosser <tobias@grosser.es> | 2014-03-03 11:39:22 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-03-03 11:39:22 +0000 |
commit | 0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81 (patch) | |
tree | 2cf0402fd0ba27cd249a5152b4519f533c06f223 | |
parent | 0f0d4bfeef6e2df39e410587ce9f7bf741115f1d (diff) | |
download | gcc-0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81.zip gcc-0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81.tar.gz gcc-0afe73323d8f3057e9d65c88eb6e8fd59f2c4b81.tar.bz2 |
re PR tree-optimization/58028 (Several failures in libgomp.graphite after revision 200946)
2014-03-03 Tobias Grosser <tobias@grosser.es>
Mircea Namolaru <mircea.namolaru@inria.fr>
PR tree-optimization/58028
* graphite-clast-to-gimple.c (set_cloog_options): Don't remove
scalar dimensions.
Co-Authored-By: Mircea Namolaru <mircea.namolaru@inria.fr>
From-SVN: r208273
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/graphite-clast-to-gimple.c | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 551e134..a1b4e54 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2014-03-03 Tobias Grosser <tobias@grosser.es> + Mircea Namolaru <mircea.namolaru@inria.fr> + + PR tree-optimization/58028 + * graphite-clast-to-gimple.c (set_cloog_options): Don't remove + scalar dimensions. + 2014-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> * config/arm/neon.md (*movmisalign<mode>): Legitimize addresses diff --git a/gcc/graphite-clast-to-gimple.c b/gcc/graphite-clast-to-gimple.c index 0edeb29..fc60845 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. |