nir: Rename nir_instr_type_ssa_undef to nir_instr_type_undef

We already renamed the type, we just need to rename the enum and the
casting helper functions.

Generated with sed:

    sed -i -e 's/nir_instr_type_ssa_undef/nir_instr_type_undef/g' src/**/*.h src/**/*.c src/**/*.cpp
    sed -i -e 's/nir_instr_as_ssa_undef/nir_instr_as_undef/g' src/**/*.h src/**/*.c src/**/*.cpp

and two tiny whitespace fixups in lima.

Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24703>
This commit is contained in:
Faith Ekstrand
2023-08-15 09:59:06 -05:00
committed by Marge Bot
parent 252bff0f48
commit 65b6ac8aa4
60 changed files with 119 additions and 119 deletions

View File

@@ -1834,8 +1834,8 @@ agx_emit_instr(agx_builder *b, struct nir_instr *instr)
agx_emit_phi(b, nir_instr_as_phi(instr));
break;
case nir_instr_type_ssa_undef:
agx_emit_undef(b, nir_instr_as_ssa_undef(instr));
case nir_instr_type_undef:
agx_emit_undef(b, nir_instr_as_undef(instr));
break;
default: