[jit] Fix more simd+aot issues. Avoid treating the Vector<T> GTD or Vector<T_REF...
[mono.git] / mono / mini / mini.c
index 4da25a4d439edda2babe9a41e70d0ea1912c2b05..cfca91bf6e82b1d10abb7ececa75b650c5e2504c 100644 (file)
@@ -365,6 +365,8 @@ handle_enum:
        case MONO_TYPE_TYPEDBYREF:
                return OP_STOREV_MEMBASE;
        case MONO_TYPE_GENERICINST:
+               if (MONO_CLASS_IS_SIMD (cfg, mono_class_from_mono_type (type)))
+                       return OP_STOREX_MEMBASE;
                type = &type->data.generic_class->container_class->byval_arg;
                goto handle_enum;
        case MONO_TYPE_VAR: