This is the mail archive of the
mailing list for the GCC project.
Re: Question about "instruction merge" pass when optimizing for size
- From: Jeff Law <law at redhat dot com>
- To: DJ Delorie <dj at redhat dot com>, "sarah at hederstierna dot com" <fredrik at hederstierna dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 19 Aug 2015 15:07:22 -0600
- Subject: Re: Question about "instruction merge" pass when optimizing for size
- Authentication-results: sourceware.org; auth=none
- References: <CE36BD26828FA5408B9F87E4DD2ACB0B0135774D9F16 at MBXVS01 dot HMC dot local> <4ad27b0cf3dd4b12a4a2a4530ce2f15a at DAG03 dot HMC dot local> <201508192038 dot t7JKcVV7000807 at greed dot delorie dot com>
On 08/19/2015 02:38 PM, DJ Delorie wrote:
More important is to determine *why* we're getting these patterns. In
the IRA/LRA world, they should be a lot less common.
I've seen this on other targets too, sometimes so bad I write a quick
target-specific "stupid move optimizer" pass to clean it up.
A generic pass would be much harder, but very useful.