summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <alyssa@collabora.com>2023-04-06 17:16:36 -0400
committerMarge Bot <emma+marge@anholt.net>2023-04-07 23:48:03 +0000
commitdcb59a7672d27936189663e01a77a4608c23d59c (patch)
tree258c8520b75eebb3c089b62d5002c3aecb42fa99 /src/compiler
parented85a49727183148e5e467f3508423ff6b17f37e (diff)
downloadmesa-dcb59a7672d27936189663e01a77a4608c23d59c.tar.gz
mesa-dcb59a7672d27936189663e01a77a4608c23d59c.tar.bz2
mesa-dcb59a7672d27936189663e01a77a4608c23d59c.zip
nir: Remove nir_if_rewrite_condition_ssa
Now unused. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22343>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h
index d5d5e240bb7..4c3fa21651a 100644
--- a/src/compiler/nir/nir.h
+++ b/src/compiler/nir/nir.h
@@ -4363,15 +4363,6 @@ nir_instr_rewrite_src_ssa(ASSERTED nir_instr *instr,
void nir_instr_rewrite_src(nir_instr *instr, nir_src *src, nir_src new_src);
void nir_instr_move_src(nir_instr *dest_instr, nir_src *dest, nir_src *src);
-static inline void
-nir_if_rewrite_condition_ssa(ASSERTED nir_if *if_stmt,
- nir_src *src, nir_ssa_def *new_ssa)
-{
- assert(src->is_if);
- assert(src->parent_if == if_stmt);
- nir_src_rewrite_ssa(src, new_ssa);
-}
-
void nir_if_rewrite_condition(nir_if *if_stmt, nir_src new_src);
void nir_instr_rewrite_dest(nir_instr *instr, nir_dest *dest,
nir_dest new_dest);