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 ++-
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
In the patch title and the code: negtive -> negative
___
Beignet mailing list
Beignet@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/beignet