[Beignet] [PATCH] utests: added for optimization negativeAdd

2017-05-22 Thread rander.wang
the negtive Add is like: exp -a llvm transfer it to: add x -a, 0 exp x Signed-off-by: rander.wang --- kernels/compiler_remove_negative_add.cl | 4 utests/CMakeLists.txt | 3 ++-

Re: [Beignet] [PATCH 1/2] Backend: Add optimization for negtive modifier

2017-05-22 Thread Matt Turner
On Wed, May 17, 2017 at 1:20 AM, rander.wang 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

Re: [Beignet] [PATCH] utests: added for optimization negtiveAdd

2017-05-22 Thread Matt Turner
In the patch title and the code: negtive -> negative ___ Beignet mailing list Beignet@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/beignet