ssa-fre-46.c
441 Bytes
-
re PR tree-optimization/66502 (SCCVN can't handle PHIs optimistically optimally) · 9fe4f60a
2015-08-13 Richard Biener <rguenther@suse.de> PR tree-optimization/66502 PR tree-optimization/67167 * tree-ssa-sccvn.c (vn_phi_compute_hash): Do not include backedge arguments. (vn_phi_lookup): Adjust. (vn_phi_insert): Likewise. (visit_phi): Prefer to value-number to another PHI node over value-numbering to a PHI argument. (init_scc_vn): Mark DFS back edges. * gcc.dg/tree-ssa/ssa-fre-46.c: New testcase. From-SVN: r226850
Richard Biener committed