aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>2017-06-26 14:17:35 +0000
committerWilliam Schmidt <wschmidt@gcc.gnu.org>2017-06-26 14:17:35 +0000
commitdf11b2ea7f3139e0f786e634040d425421ce77c4 (patch)
tree5e9469d7db03b1d54b6da019648f7fddb86f0d0c /libgo
parentfa7ccca021a5943040fd4d19d88e626a9736758e (diff)
downloadgcc-df11b2ea7f3139e0f786e634040d425421ce77c4.zip
gcc-df11b2ea7f3139e0f786e634040d425421ce77c4.tar.gz
gcc-df11b2ea7f3139e0f786e634040d425421ce77c4.tar.bz2
gimple-ssa-strength-reduction.c (uses_consumed_by_stmt): New function.
[gcc] 2016-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gimple-ssa-strength-reduction.c (uses_consumed_by_stmt): New function. (find_basis_for_candidate): Call uses_consumed_by_stmt rather than has_single_use. (slsr_process_phi): Likewise. (replace_uncond_cands_and_profitable_phis): Don't replace a multiply candidate with a stride of 1 (copy or cast). (phi_incr_cost): Call uses_consumed_by_stmt rather than has_single_use. (lowest_cost_path): Likewise. (total_savings): Likewise. [gcc/testsuite] 2016-06-26 Bill Schmidt <wschmidt@linux.vnet.ibm.com> * gcc.dg/tree-ssa/slsr-35.c: Remove -fno-code-hoisting workaround. * gcc.dg/tree-ssa/slsr-36.c: Likewise. From-SVN: r249648
Diffstat (limited to 'libgo')
0 files changed, 0 insertions, 0 deletions