re PR tree-optimization/58656 (rnflow regressing after r202826)
2013-10-10 Richard Biener <rguenther@suse.de> PR tree-optimization/58656 * tree-ssa-pre.c (phi_translate): Do not cache failed translations. From-SVN: r203377
This commit is contained in:
parent
20921a97e1
commit
e2c2fde210
2 changed files with 14 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-10-10 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/58656
|
||||
* tree-ssa-pre.c (phi_translate): Do not cache failed
|
||||
translations.
|
||||
|
||||
2013-10-10 Andrew MacLeod <amacleod@redhat.com>
|
||||
|
||||
* gimplify.c: Include expr.h and tm_p.h for targets with special va-arg
|
||||
|
|
|
@ -1758,7 +1758,14 @@ phi_translate (pre_expr expr, bitmap_set_t set1, bitmap_set_t set2,
|
|||
phitrans = phi_translate_1 (expr, set1, set2, pred, phiblock);
|
||||
|
||||
if (slot)
|
||||
slot->v = phitrans;
|
||||
{
|
||||
if (phitrans)
|
||||
slot->v = phitrans;
|
||||
else
|
||||
/* Remove failed translations again, they cause insert
|
||||
iteration to not pick up new opportunities reliably. */
|
||||
phi_translate_table.remove_elt_with_hash (slot, slot->hashcode);
|
||||
}
|
||||
|
||||
return phitrans;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue