mirror of git://gcc.gnu.org/git/gcc.git
tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
2015-02-02 Richard Biener <rguenther@suse.de> * tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs. * tree-vrp.c (vrp_valueize_1): Likewise. From-SVN: r220346
This commit is contained in:
parent
56d1b78a4a
commit
7dd1f7ace3
|
|
@ -1,3 +1,8 @@
|
|||
2015-02-02 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* tree-ssa-ccp.c (valueize_op_1): Always allow valueizing default-defs.
|
||||
* tree-vrp.c (vrp_valueize_1): Likewise.
|
||||
|
||||
2015-02-02 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* config/rs6000/rs6000.c (rs6000_call_aix): Use unspec rather
|
||||
|
|
|
|||
|
|
@ -1145,7 +1145,8 @@ valueize_op_1 (tree op)
|
|||
this SSA edge as the SSA propagator does not necessarily
|
||||
re-visit the use. */
|
||||
gimple def_stmt = SSA_NAME_DEF_STMT (op);
|
||||
if (prop_simulate_again_p (def_stmt))
|
||||
if (!gimple_nop_p (def_stmt)
|
||||
&& prop_simulate_again_p (def_stmt))
|
||||
return NULL_TREE;
|
||||
tree tem = get_constant_value (op);
|
||||
if (tem)
|
||||
|
|
|
|||
|
|
@ -7096,7 +7096,8 @@ vrp_valueize_1 (tree name)
|
|||
this SSA edge as the SSA propagator does not necessarily
|
||||
re-visit the use. */
|
||||
gimple def_stmt = SSA_NAME_DEF_STMT (name);
|
||||
if (prop_simulate_again_p (def_stmt))
|
||||
if (!gimple_nop_p (def_stmt)
|
||||
&& prop_simulate_again_p (def_stmt))
|
||||
return NULL_TREE;
|
||||
value_range_t *vr = get_value_range (name);
|
||||
if (range_int_cst_singleton_p (vr))
|
||||
|
|
|
|||
Loading…
Reference in New Issue