Re: [Mesa-dev] Common Subexpression Elimination

2011-07-16 Thread Bryan Cain
On 07/16/2011 10:28 AM, Vincent wrote: > Hi, > > I wrote an optimisation pass that perform CSE (that is, it spots > expressions that appears twice or more, and factor them in a temporary > to avoid recalculation). > This is my first patch to Mesa, I would like to receive feedback : > case where the

[Mesa-dev] Common Subexpression Elimination

2011-07-16 Thread Vincent
Hi, I wrote an optimisation pass that perform CSE (that is, it spots expressions that appears twice or more, and factor them in a temporary to avoid recalculation). This is my first patch to Mesa, I would like to receive feedback : case where the algorithm does not work, crashes, ... I tried