aco: implement 64-bit ineg

We currently lower them, but nir_opt_algebraic() can add new ones because
lower_sub=true.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
This commit is contained in:
Rhys Perry
2019-09-25 12:16:34 +01:00
parent 641eac953c
commit b125dc4839
2 changed files with 17 additions and 2 deletions
@@ -1314,8 +1314,7 @@ setup_isel_context(Program* program,
nir_lower_divmod64 |
nir_lower_logic64 |
nir_lower_minmax64 |
nir_lower_iabs64 |
nir_lower_ineg64));
nir_lower_iabs64));
nir_opt_idiv_const(nir, 32);
nir_lower_idiv(nir); // TODO: use the LLVM path once !1239 is merged