diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-02 16:20:36 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-02 16:20:36 +0000 |
commit | 0acf3477dbd6b02dab72e2bb8666de9068ef6b96 (patch) | |
tree | 167b7b8803b20ddb17ea9f205ec3cd9c4746e278 /gcc/common.opt | |
parent | e75229d0b017936c6aab8aa5d2fc2d5f8bd950c5 (diff) | |
download | ppe42-gcc-0acf3477dbd6b02dab72e2bb8666de9068ef6b96.tar.gz ppe42-gcc-0acf3477dbd6b02dab72e2bb8666de9068ef6b96.zip |
Add -ftree-loop-distribute-patterns enabled at -O3.
2010-08-02 Sebastian Pop <sebastian.pop@amd.com>
* common.opt (ftree-loop-distribute-patterns): New.
* invoke.texi (-ftree-loop-distribute-patterns): Documented.
* opts.c (decode_options): Enable flag_tree_loop_distribute_patterns
at -O3.
* tree-data-ref.c (stores_zero_from_loop): New.
* tree-data-ref.h (stores_zero_from_loop): Declared.
* tree-loop-distribution.c (tree_loop_distribution): Call
stores_zero_from_loop.
(tree_loop_distribution): Check flag_tree_loop_distribute_patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162822 138bc75d-0d04-0410-961f-82ee72b054a4
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 78dc1ba382d..0fe09a82109 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1333,6 +1333,10 @@ ftree-loop-distribution Common Report Var(flag_tree_loop_distribution) Optimization Enable loop distribution on trees +ftree-loop-distribute-patterns +Common Report Var(flag_tree_loop_distribute_patterns) Optimization +Enable loop distribution for patterns transformed into a library call + ftree-loop-im Common Report Var(flag_tree_loop_im) Init(1) Optimization Enable loop invariant motion on trees |