ac: add ac_build_umax() and use it where possible
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Apr 2019 15:16:49 +0000 (17:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Apr 2019 15:30:55 +0000 (17:30 +0200)
commit4cb13e946284a569a242af0213f01e84aea4a4af
tree0792d7699d14bbd5cf7a7f3a8e04417db5743cd7
parentcf88bfa75a1b1c80f6ac3bcd9ae40fa5348e6619
ac: add ac_build_umax() and use it where possible

This changes the predicate from LessThan to Equal.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h
src/amd/common/ac_nir_to_llvm.c