mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-17 03:08:07 +02:00
LLVM (like NIR) requires phi instructions to be before any other
instructions in the block. ac_branch_exited() can insert non-phi
instructions before visit_block() adds phis, so visit_block() should add
phi instructions before the non-phi instructions ac_branch_exited()
inserts.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Fixes:
|
||
|---|---|---|
| .. | ||
| ac_llvm_build.c | ||
| ac_llvm_build.h | ||
| ac_llvm_cull.c | ||
| ac_llvm_cull.h | ||
| ac_llvm_helper.cpp | ||
| ac_llvm_util.c | ||
| ac_llvm_util.h | ||
| ac_nir_to_llvm.c | ||
| ac_nir_to_llvm.h | ||
| ac_shader_abi.h | ||
| meson.build | ||