This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Redundant logical operations left after early splitting
- From: Paolo Bonzini <bonzini at gnu dot org>
- To: Andy H <hutchinsonandy at aim dot com>
- Cc: dave dot korn at artimi dot com, law at redhat dot com, gcc at gcc dot gnu dot org
- Date: Wed, 20 Feb 2008 09:26:54 +0100
- Subject: Re: Redundant logical operations left after early splitting
- References: <8CA417C6018BC65-14A0-1CB2@MBLK-M24.sysops.aol.com> <47BBA6A8.90605@aim.com>
Propagating REG_EQUIV notes across register-register moves would seem
to a obviously simple way to fix this. Thoughts?
I am not sure local-alloc is the best place to address the overall
problem, I doubt it is intended to provide such optimizations.
An additional cse pass after split would seem a better way perhaps?
You could try adding another fwprop run after splitting. I wouldn't
like a third instance of the pass, but it could help.
Paolo