diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2012-06-13 20:41:41 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2012-06-13 20:41:41 +0000 |
commit | 522dfbcd25cc554f500fbe7102c7e2946aac6c8b (patch) | |
tree | 126009dcd8222ffd4b61e63e72cc8fdf8cef55da /gcc/common.opt | |
parent | cb5262554d97b4e1e2ee43179377fe27b136fb9d (diff) |
gcc/ChangeLog:
* common.opt (ftree-coalesce-inlined-vars): New.
(ftree-coalesce-vars): New.
* doc/invoke.texi: Document them.
* tree-ssa-copyrename.c (copy_rename_partition_coalesce):
Implement them.
gcc/testsuite/ChangeLog:
* g++.dg/tree-ssa/ivopts-2.C: Adjust for coalescing.
* gcc.dg/tree-ssa/forwprop-11.c: Likewise.
* gcc.dg/tree-ssa/ssa-fre-1.c: Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@188526 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 02c7cd3ee7a..5b1b4d8eea3 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1944,6 +1944,14 @@ ftree-ch Common Report Var(flag_tree_ch) Optimization Enable loop header copying on trees +ftree-coalesce-inlined-vars +Common Report Var(flag_ssa_coalesce_vars,1) Init(2) RejectNegative Optimization +Enable coalescing of copy-related user variables that are inlined + +ftree-coalesce-vars +Common Report Var(flag_ssa_coalesce_vars,2) Optimization +Enable coalescing of all copy-related user variables + ftree-copyrename Common Report Var(flag_tree_copyrename) Optimization Replace SSA temporaries with better names in copies |