On Sun, Jul 13, 2008 at 6:29 AM, Andi Kleen <[EMAIL PROTECTED]> wrote:
> Nils Pipenbrinck <[EMAIL PROTECTED]> writes:
>
>> Since the codebase is huge I have the feeling that I have overlooked
>> something. Does some kind of infrastructure to detect patterns within
>> a SSA tree already exists somewhere else?
>
> FWIW some time ago I wanted to do some other arithmetic optimization
> on expressions and didn't find a nice generic "misc transformation
> pass" or an generic pattern matcher. Probably one would need to be added.

The closest we have to misc transforms like this at the tree level is
either forwprop or reassoc
Probably better, as you say, to add a misc pattern matcher.

Reply via email to