diff options
author | grosser <grosser@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-23 17:00:35 +0000 |
---|---|---|
committer | grosser <grosser@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-10-23 17:00:35 +0000 |
commit | f4c4e2a28c55e1e22bc38dfdd3d5fc219abcb283 (patch) | |
tree | 0da344ad10eca1534e339ee2475afd4287ca8206 /gcc/tree-ssa-loop.c | |
parent | dba03a9d69a5ebbd46a364091bf23edb4dc5d47e (diff) | |
download | gcc-f4c4e2a28c55e1e22bc38dfdd3d5fc219abcb283.tar.gz |
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: svn+ssh://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; |