[Mesa-dev] [PATCH 3/8] nv50/ir: optimize ADD(ADD(a, b), c) to ADD3(a, b, c)

Ilia Mirkin imirkin at alum.mit.edu
Thu Jun 30 22:49:18 UTC 2016


On Thu, Jun 30, 2016 at 6:47 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 07/01/2016 12:40 AM, Ilia Mirkin wrote:
>>
>> Doesn't ADD3 only work for integers? I don't see anything here
>> preventing float adds from being merged here...
>
>
> isOpSupported() should do the job because I check if dtype is float.

Ah, indeed. Missed that.


More information about the mesa-dev mailing list