diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2008-10-23 17:00:35 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2008-10-23 17:00:35 +0000 |
commit | 10752076ed24bcd357e4a70cae78f9c0be43978e (patch) | |
tree | 0da344ad10eca1534e339ee2475afd4287ca8206 /gcc/tree-ssa-loop.c | |
parent | 83e7026b586d2e773ea1b33ca760c7f4da560e19 (diff) |
2008-10-23 Tobias Grosser <grosser@fim.uni-passau.de>
* graphite.c (graphite_apply_transformations): Check for
-fgraphite-identity.
* toplev.c (process_options): Add graphite_identity.
* tree-ssa-loop.c (gate_graphite_transforms): Add graphite_identity.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@141325 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r-- | gcc/tree-ssa-loop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 51fc07c558a..2ea58f69043 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -305,7 +305,8 @@ gate_graphite_transforms (void) { /* Enable -fgraphite pass if any one of the graphite optimization flags is turned on. */ - if (flag_loop_block || flag_loop_interchange || flag_loop_strip_mine) + if (flag_loop_block || flag_loop_interchange || flag_loop_strip_mine + || flag_graphite_identity) flag_graphite = 1; return flag_graphite != 0; |