genmatch.c (capture_info::walk_c_expr): Ignore capture uses inside TREE_TYPE ().
authorRichard Biener <rguenther@suse.de>
Thu, 30 Oct 2014 15:36:05 +0000 (15:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 30 Oct 2014 15:36:05 +0000 (15:36 +0000)
commitd822570f733f2660b8bd5c78cf5077e654c4387e
tree138ab18df255eae4e18cb747ac189b901263aeae
parent665c06cec2b2b15addfe22e203c7d0e90f74424b
genmatch.c (capture_info::walk_c_expr): Ignore capture uses inside TREE_TYPE ().

2014-10-30  Richard Biener  <rguenther@suse.de>

* genmatch.c (capture_info::walk_c_expr): Ignore capture
uses inside TREE_TYPE ().
* gimple-ssa-strength-reduction.c (stmt_cost): Use CASE_CONVERT.
(find_candidates_dom_walker::before_dom_children): Likewise.
(replace_mult_candidate): Use CONVERT_EXPR_CODE_P.
(replace_profitable_candidates): Likewise.
* tree-ssa-dom.c (initialize_hash_element): Canonicalize
CONVERT_EXPR_CODE_P to CONVERT_EXPR.
* convert.c (convert_to_integer): Use CASE_CONVERT.

From-SVN: r216939
gcc/ChangeLog
gcc/convert.c
gcc/genmatch.c
gcc/gimple-ssa-strength-reduction.c
gcc/tree-ssa-dom.c