aboutsummaryrefslogtreecommitdiff
path: root/ltsugar.m4
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2022-07-18 13:09:57 +0200
committerRichard Biener <rguenther@suse.de>2022-07-18 14:42:51 +0200
commit87f46a16ec05beb51439f55a4d3c36d64b95b00f (patch)
treea52b3bca598e579e167ef85c61260860aebb43a9 /ltsugar.m4
parentc8697735abaca3b3dfe8ae4188a086d1fd7048eb (diff)
downloadgcc-87f46a16ec05beb51439f55a4d3c36d64b95b00f.zip
gcc-87f46a16ec05beb51439f55a4d3c36d64b95b00f.tar.gz
gcc-87f46a16ec05beb51439f55a4d3c36d64b95b00f.tar.bz2
Fix builtin vs non-builtin partition merge in loop distribution
When r7-6373-g40b6bff965d004 fixed a costing issue it failed to make the logic symmetric which means that we now fuse normal vs. builtin when the cost model says so but we don't fuse builtin vs. normal. The following fixes that, also allowing the cost model to decide to fuse two builtin partitions as otherwise an intermediate non-builtin can result in a partial merge as well. * tree-loop-distribution.cc (loop_distribution::distribute_loop): When computing cost-based merging do not disregard builtin classified partitions in some cases. * gcc.dg/tree-ssa/ldist-24.c: XFAIL. * gcc.dg/tree-ssa/ldist-36.c: Adjust expected outcome.
Diffstat (limited to 'ltsugar.m4')
0 files changed, 0 insertions, 0 deletions