nir: add unsigned comparison simplifications
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 30 May 2018 10:32:24 +0000 (20:32 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 30 May 2018 12:48:37 +0000 (22:48 +1000)
commite8b368ad1c4bdafc32505b722617b8ab19296fbe
treeef8cdab96537004e1e9aaec1792e8e815dcfeace
parentc2799574eb104218ac4f6b8a3d64b8a0f8c89525
nir: add unsigned comparison simplifications

This avoids loop unrolling regressions in Wolfenstein II on DXVK
with an upcoming optimisation series from Samuel.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/compiler/nir/nir_opt_algebraic.py