+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.
+
2011-01-31 Jakub Jelinek <jakub@redhat.com>
Richard Guenther <rguenther@suse.de>
Enable loop invariant motion on trees
ftree-loop-linear
-Common Report Var(flag_tree_loop_linear) Optimization
-Enable linear loop transforms on trees
+Common Alias(floop-interchange)
+Enable loop interchange transforms. Same as -floop-interchange
ftree-loop-ivcanon
Common Report Var(flag_tree_loop_ivcanon) Init(1) Optimization
@item -ftree-loop-linear
@opindex ftree-loop-linear
-Perform linear loop transformations on tree. This flag can improve cache
-performance and allow further loop optimizations to take place.
+Perform loop interchange transformations on tree. Same as
+@option{-floop-interchange}. To use this code transformation, GCC has
+to be configured with @option{--with-ppl} and @option{--with-cloog} to
+enable the Graphite loop transformation infrastructure.
@item -floop-interchange
@opindex floop-interchange
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;
}