backend: improve add zero pattern

Graphics / Beignet - rander [intel.com] - 6 July 2017 06:02 EDT

remove the negation check for adding zero. it also can be applied this optimization

V2: refine the function name for zeroAdd

f410c20 backend: improve add zero pattern
backend/src/backend/gen_insn_selection_optimize.cpp | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

Upstream: cgit.freedesktop.org


  • Share