Hi Matt, Yes, LLVM makes the inverse transformation.
Rander -----Original Message----- From: Matt Turner [mailto:matts...@gmail.com] Sent: Tuesday, May 23, 2017 2:46 AM To: Wang, Rander <rander.w...@intel.com> Cc: beig...@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.w...@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. _______________________________________________ Beignet mailing list Beignet@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/beignet