ac/nir: make use of ac_build_imin() where possible
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 10 Apr 2019 15:16:47 +0000 (17:16 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 12 Apr 2019 15:30:54 +0000 (17:30 +0200)
commit15dd81913f2d50b327006f0777994e839259c98c
tree20f6157b65cc2e66ffe29732f60c1fcf5588e559
parentd7a0c0d53b759677f93fc1a7c075501e33f59ee2
ac/nir: make use of ac_build_imin() 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