aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-loop.c
diff options
context:
space:
mode:
authorSebastian Pop <sebastian.pop@amd.com>2011-01-31 19:30:55 +0000
committerSebastian Pop <spop@gcc.gnu.org>2011-01-31 19:30:55 +0000
commit7633415cb2c6c35afd15d70a99db3046a3d70349 (patch)
treeabd1180e482827a3b96ab09d5742023738fc00cb /gcc/tree-ssa-loop.c
parentfabb6f8ea12176a06d181f26a6f3b824955b57e9 (diff)
downloadgcc-7633415cb2c6c35afd15d70a99db3046a3d70349.zip
gcc-7633415cb2c6c35afd15d70a99db3046a3d70349.tar.gz
gcc-7633415cb2c6c35afd15d70a99db3046a3d70349.tar.bz2
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. From-SVN: r169445
Diffstat (limited to 'gcc/tree-ssa-loop.c')
-rw-r--r--gcc/tree-ssa-loop.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/tree-ssa-loop.c b/gcc/tree-ssa-loop.c
index 5534b6a..656d2b6 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;
}