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:

committed by
Marge Bot

parent
252bff0f48
commit
65b6ac8aa4
@@ -84,8 +84,8 @@ is_live(BITSET_WORD *defs_live, nir_instr *instr)
|
||||
nir_load_const_instr *lc = nir_instr_as_load_const(instr);
|
||||
return is_def_live(&lc->def, defs_live);
|
||||
}
|
||||
case nir_instr_type_ssa_undef: {
|
||||
nir_undef_instr *undef = nir_instr_as_ssa_undef(instr);
|
||||
case nir_instr_type_undef: {
|
||||
nir_undef_instr *undef = nir_instr_as_undef(instr);
|
||||
return is_def_live(&undef->def, defs_live);
|
||||
}
|
||||
case nir_instr_type_parallel_copy: {
|
||||
|
Reference in New Issue
Block a user