summaryrefslogtreecommitdiffstats
path: root/src/amd
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2019-09-18 20:45:05 +0100
committerRhys Perry <[email protected]>2019-10-21 18:49:46 +0000
commit132ae89b1908dc1ba8483e72ded9380764d8435c (patch)
treeacc62b0a85bd50dbb192f126c4120e21d3bd5a60 /src/amd
parent8b98d0954e6168484479cf51d56bface448d00d5 (diff)
aco: use nir_lower_idiv_precise
v7: rename _nv50/_llvm to _fast/_precise Signed-off-by: Rhys Perry <[email protected]> Reviewed-by: Daniel Schürmann <[email protected]>
Diffstat (limited to 'src/amd')
-rw-r--r--src/amd/compiler/aco_instruction_selection_setup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_instruction_selection_setup.cpp b/src/amd/compiler/aco_instruction_selection_setup.cpp
index fa457e2e246..9727020a8a9 100644
--- a/src/amd/compiler/aco_instruction_selection_setup.cpp
+++ b/src/amd/compiler/aco_instruction_selection_setup.cpp
@@ -1328,7 +1328,7 @@ setup_isel_context(Program* program,
nir_lower_iabs64));
nir_opt_idiv_const(nir, 32);
- nir_lower_idiv(nir, nir_lower_idiv_fast); // TODO: use the LLVM path once !1239 is merged
+ nir_lower_idiv(nir, nir_lower_idiv_precise);
/* optimize the lowered ALU operations */
nir_copy_prop(nir);