diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 19:30:55 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-31 19:30:55 +0000 |
commit | 464a406e3fb378894acd35b03168b6e44ed48e26 (patch) | |
tree | abd1180e482827a3b96ab09d5742023738fc00cb /gcc/tree-ssa-loop.c | |
parent | 4ac968e7dd021116ee8f81f9a2063a32f6a2c61a (diff) | |
download | gcc-464a406e3fb378894acd35b03168b6e44ed48e26.tar.gz |
Use Alias in common.opt to make -ftree-loop-linear an alias of -floop-interchange.
2011-01-31 Sebastian Pop <sebastian.pop@amd.com>
* common.opt (ftree-loop-linear): Use Alias to make it an alias of
-floop-interchange.
* invoke.texi (-ftree-loop-linear): Make it clear that this flag
is an alias of -floop-interchange and that it requires the
Graphite infrastructure.
* tree-ssa-loop.c (gate_graphite_transforms): Do not set
flag_loop_interchange based on the value of flag_tree_loop_linear.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169445 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r-- | gcc/tree-ssa-loop.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c index 5534b6a515a..656d2b6a8e0 100644 --- a/gcc/tree-ssa-loop.c +++ b/gcc/tree-ssa-loop.c @@ -266,17 +266,12 @@ gate_graphite_transforms (void) is turned on. */ if (flag_loop_block || flag_loop_interchange - || flag_tree_loop_linear || flag_loop_strip_mine || flag_graphite_identity || flag_loop_parallelize_all || flag_loop_flatten) flag_graphite = 1; - /* Make flag_tree_loop_linear an alias of flag_loop_interchange. */ - if (flag_tree_loop_linear) - flag_loop_interchange = flag_tree_loop_linear; - return flag_graphite != 0; } |