diff options
author | Richard Biener <rguenther@suse.de> | 2014-06-18 08:33:44 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2014-06-18 08:33:44 +0000 |
commit | 68f6df73324a1389bce336d55ae94aa58f519997 (patch) | |
tree | cea22e859af7a194868852aa25abe1653a1d9ea2 /gcc/tree-ssa-phiopt.c | |
parent | 419d45db8e25741704b8ccd06699e4d4cfcfbc4e (diff) | |
download | gcc-68f6df73324a1389bce336d55ae94aa58f519997.zip gcc-68f6df73324a1389bce336d55ae94aa58f519997.tar.gz gcc-68f6df73324a1389bce336d55ae94aa58f519997.tar.bz2 |
common.opt (fssa-phiopt): New option.
2014-06-18 Richard Biener <rguenther@suse.de>
* common.opt (fssa-phiopt): New option.
* opts.c (default_options_table): Enable -fssa-phiopt with -O1+
but not with -Og.
* tree-ssa-phiopt.c (pass_phiopt): Add gate method.
* doc/invoke.texi (-fssa-phiopt): Document.
From-SVN: r211772
Diffstat (limited to 'gcc/tree-ssa-phiopt.c')
-rw-r--r-- | gcc/tree-ssa-phiopt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/tree-ssa-phiopt.c b/gcc/tree-ssa-phiopt.c index 95844f4..5400299 100644 --- a/gcc/tree-ssa-phiopt.c +++ b/gcc/tree-ssa-phiopt.c @@ -2332,6 +2332,7 @@ public: /* opt_pass methods: */ opt_pass * clone () { return new pass_phiopt (m_ctxt); } + virtual bool gate (function *) { return flag_ssa_phiopt; } virtual unsigned int execute (function *) { return tree_ssa_phiopt_worker (false, gate_hoist_loads ()); |