gimple-fold.c (gimple_fold_stmt_to_constant_1): For ternary ops with an embedded...
authorRichard Guenther <rguenther@suse.de>
Wed, 5 Oct 2011 10:54:14 +0000 (10:54 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 5 Oct 2011 10:54:14 +0000 (10:54 +0000)
commitd3878abfccb6f6b9235bdf084f28ebe6cc1cc490
tree8f305cd98368d269f8bb3b30639fd03210cf77df
parentd75fbd3dbf7f1a5bf91ccc55acf312cba4f91bae
gimple-fold.c (gimple_fold_stmt_to_constant_1): For ternary ops with an embedded expression valueize and fold that as well.

2011-10-05  Richard Guenther  <rguenther@suse.de>

* gimple-fold.c (gimple_fold_stmt_to_constant_1): For
ternary ops with an embedded expression valueize and fold
that as well.
* tree-ssa-sccvn.c (try_to_simplify): Also allow SSA name
results from gimple_fold_stmt_to_constant_1.

From-SVN: r179543
gcc/ChangeLog
gcc/gimple-fold.c
gcc/tree-ssa-sccvn.c