diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2011-01-31 19:30:55 +0000 |
---|---|---|
committer | Sebastian Pop <sebastian.pop@amd.com> | 2011-01-31 19:30:55 +0000 |
commit | d45a6e1ce6666bdb9607bc9228e2aff129502d7b (patch) | |
tree | abd1180e482827a3b96ab09d5742023738fc00cb /gcc/tree-ssa-loop.c | |
parent | d1fa6eaec313932077d78e41334bc1755ba919ad (diff) |
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: https://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; } |