MSL doesn't seem to have any special handling for undefined values, differently from SPIR-V. Thus we just emit zeros. UNDEF registers are sometimes created by the DXIL parser, for example in sm6_parser_emit_composite_construct().