diff options
author | Sebastian Pop <sebastian.pop@amd.com> | 2010-09-30 21:20:45 +0000 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2010-09-30 21:20:45 +0000 |
commit | 98af4c9ffeba9ea5549c06aa91e074a258cdd493 (patch) | |
tree | 77b4af2c50159c96052312846c33a591f9c1a01a /gcc/common.opt | |
parent | c498b9b99772f4f810ff2d6cf61c6b8bf194b095 (diff) | |
download | gcc-98af4c9ffeba9ea5549c06aa91e074a258cdd493.zip gcc-98af4c9ffeba9ea5549c06aa91e074a258cdd493.tar.gz gcc-98af4c9ffeba9ea5549c06aa91e074a258cdd493.tar.bz2 |
New pass: loop flattening.
2010-09-09 Sebastian Pop <sebastian.pop@amd.com>
* Makefile.in (OBJS-common): Add graphite-flattening.o.
(graphite-flattening.o): New rule.
* common.opt (floop-flatten): New flag.
* doc/invoke.texi (-floop-flatten): Documented.
* graphite-flattening.c: New.
* graphite-poly.c (apply_poly_transforms): Call flatten_all_loops.
* graphite-poly.h (flatten_all_loops): Declared.
(lst_remove_loop_and_inline_stmts_in_loop_father): New.
* tree-ssa-loop.c (gate_graphite_transforms): When flag_loop_flatten
is set, also set flag_graphite.
From-SVN: r164804
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 2b64366..938b76e 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -870,6 +870,10 @@ floop-block Common Report Var(flag_loop_block) Optimization Enable Loop Blocking transformation +floop-flatten +Common Report Var(flag_loop_flatten) Optimization +Enable Loop Flattening transformation + fstrict-volatile-bitfields Common Report Var(flag_strict_volatile_bitfields) Init(-1) Force bitfield accesses to match their type width |