re PR tree-optimization/91291 (gcc.dg/20020312-2.c FAILs)
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
This commit is contained in:
parent
230e2efd78
commit
8c955a4b9c
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -6253,7 +6253,8 @@ void
|
||||
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))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user