[Beignet] [PATCH 1/2] Backend: Add optimization for negtive modifier
Wang, Rander
rander.wang at intel.com
Fri Jun 2 08:51:00 UTC 2017
Hi Matt,
Yes, LLVM makes the inverse transformation.
Rander
-----Original Message-----
From: Matt Turner [mailto:mattst88 at gmail.com]
Sent: Tuesday, May 23, 2017 2:46 AM
To: Wang, Rander <rander.wang at intel.com>
Cc: beignet at freedesktop.org
Subject: Re: [Beignet] [PATCH 1/2] Backend: Add optimization for negtive modifier
On Wed, May 17, 2017 at 1:20 AM, rander.wang <rander.wang at intel.com> wrote:
> LLVM transform Mad(a, -b, c) to
> Add b, -b, 0
> Mad val, a, b, c
I think you mean that LLVM translates
> Add b, -b, 0
> Mad val, a, b, c
to
> Mad(a, -b, c)
As it is written in your summary, it says that LLVM makes the inverse
transformation.
More information about the Beignet
mailing list