mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 19:00:13 +01:00
nir/range_analysis: Assume SSA
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Faith Ekstrand <faith.ekstrand@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24432>
This commit is contained in:
parent
d78ca1badf
commit
700e270df5
1 changed files with 1 additions and 1 deletions
|
|
@ -497,7 +497,7 @@ get_fp_key(struct analysis_query *q)
|
|||
struct fp_query *fp_q = (struct fp_query *)q;
|
||||
const nir_src *src = &fp_q->instr->src[fp_q->src].src;
|
||||
|
||||
if (!src->is_ssa || src->ssa->parent_instr->type != nir_instr_type_alu)
|
||||
if (src->ssa->parent_instr->type != nir_instr_type_alu)
|
||||
return 0;
|
||||
|
||||
uintptr_t type_encoding;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue