2019-07-30 Richard Biener <rguenther@suse.de>
PR tree-optimization/91291
* tree-ssa-sccvn.c (rpo_elim::eliminate_push_avail): Ignore
constant values.
From-SVN: r273903
+2019-07-30 Richard Biener <rguenther@suse.de>
+
+ PR tree-optimization/91291
+ * tree-ssa-sccvn.c (rpo_elim::eliminate_push_avail): Ignore
+ constant values.
+
2019-07-30 Jakub Jelinek <jakub@redhat.com>
PR middle-end/91216
rpo_elim::eliminate_push_avail (basic_block bb, tree leader)
{
tree valnum = VN_INFO (leader)->valnum;
- if (valnum == VN_TOP)
+ if (valnum == VN_TOP
+ || is_gimple_min_invariant (valnum))
return;
if (dump_file && (dump_flags & TDF_DETAILS))
{