diff options
author | Bin Cheng <bin.cheng@arm.com> | 2018-01-23 16:47:03 +0000 |
---|---|---|
committer | Bin Cheng <amker@gcc.gnu.org> | 2018-01-23 16:47:03 +0000 |
commit | 5955438a2ea81d9fb97d87a913315062ac47672b (patch) | |
tree | a533f366b09c242acbf48fb0b193100fa5bd82ad /gcc/predict.c | |
parent | cde9b2f815e3ce01bb84fef4b1c9a0cd45312eda (diff) | |
download | gcc-5955438a2ea81d9fb97d87a913315062ac47672b.zip gcc-5955438a2ea81d9fb97d87a913315062ac47672b.tar.gz gcc-5955438a2ea81d9fb97d87a913315062ac47672b.tar.bz2 |
re PR tree-optimization/82604 (SPEC CPU2006 410.bwaves ~50% performance regression with trunk@253679 when ftree-parallelize-loops is used)
PR tree-optimization/82604
* tree-loop-distribution.c (enum partition_kind): New enum item
PKIND_PARTIAL_MEMSET.
(partition_builtin_p): Support above new enum item.
(generate_code_for_partition): Ditto.
(compute_access_range): Differentiate cases that equality can be
proven at all loops, the innermost loops or no loops.
(classify_builtin_st, classify_builtin_ldst): Adjust call to above
function. Set PKIND_PARTIAL_MEMSET for partition appropriately.
(finalize_partitions, distribute_loop): Don't fuse partition of
PKIND_PARTIAL_MEMSET kind when distributing 3-level loop nest.
(prepare_perfect_loop_nest): Distribute 3-level loop nest only if
parloop is enabled.
From-SVN: r256990
Diffstat (limited to 'gcc/predict.c')
0 files changed, 0 insertions, 0 deletions