ac/nir: make use of ac_build_umin() where possible
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Apr 2019 15:16:48 +0000 (17:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Apr 2019 15:30:54 +0000 (17:30 +0200)
commitcf88bfa75a1b1c80f6ac3bcd9ae40fa5348e6619
tree55c9e4be8195b2faa9897631b67ee9f5f5162c47
parent15dd81913f2d50b327006f0777994e839259c98c
ac/nir: make use of ac_build_umin() 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_nir_to_llvm.c