nir/lower_idiv: add new llvm-based path
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 5 Feb 2019 15:56:24 +0000 (15:56 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Mon, 21 Oct 2019 18:49:46 +0000 (18:49 +0000)
commit8b98d0954e6168484479cf51d56bface448d00d5
treee53969337c5a608d2f241aec0ce5c6b1464c4c3a
parentf729ecefef1542314e1f7660e8f00e9e67e33a84
nir/lower_idiv: add new llvm-based path

v2: make variable names snake_case
v2: minor cleanups in emit_udiv()
v2: fix Panfrost build failure
v3: use an enum instead of a boolean flag in nir_lower_idiv()'s signature
v4: remove nir_op_urcp
v5: drop nv50 path
v5: rebase
v6: add back nv50 path
v6: add comment for nir_lower_idiv_path enum
v7: rename _nv50/_llvm to _fast/_precise
v8: fix etnaviv build failure

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_instruction_selection_setup.cpp
src/broadcom/compiler/vir.c
src/compiler/nir/nir.h
src/compiler/nir/nir_lower_idiv.c
src/freedreno/ir3/ir3_nir.c
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
src/gallium/drivers/vc4/vc4_program.c
src/panfrost/midgard/midgard_compile.c