On Wed, Jul 11, 2012 at 12:30:12PM +0200, Tom de Vries wrote: > I've done the following: > - refactored the pass such that it now scans at most twice over all > instructions. > - updated the patch to be applicable to current trunk > - updated the motivating example to a more applicable one (as discussed in > this thread), and added that one as test-case. > - added a part in the header comment illustrating the working of the pass > on the motivating example. > > bootstrapped and reg-tested on x86_64 and i686. > > build and reg-tested on mips, mips64, and arm.
How does this relate to the ree.c pass we already have? Why is not REE sufficient for you? Having two different zero/sign extension elimination passes would be really wierd. Jakub