[jit] Fix more simd+aot issues. Avoid treating the Vector<T> GTD or Vector<T_REF...
[mono.git] / mono / mini / simd-intrinsics.c
index 9f89822293daf0ea589d5119f5a9fb0bdcd0a5ee..cc2dede3b8ea16e106fdde2f02fc430ccd96814c 100644 (file)
@@ -2054,12 +2054,6 @@ emit_vector_t_intrinsics (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSigna
                return NULL;
        }
 
-       if (cfg->verbose_level > 1) {
-               char *name = mono_method_full_name (cmethod, TRUE);
-               printf ("  SIMD intrinsic %s\n", name);
-               g_free (name);
-       }
-
        etype = mono_class_get_context (cmethod->klass)->class_inst->type_argv [0];
        size = mono_class_value_size (mono_class_from_mono_type (etype), NULL);
        g_assert (size);
@@ -2068,6 +2062,12 @@ emit_vector_t_intrinsics (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSigna
        if (!MONO_TYPE_IS_PRIMITIVE (etype))
                return NULL;
 
+       if (cfg->verbose_level > 1) {
+               char *name = mono_method_full_name (cmethod, TRUE);
+               printf ("  SIMD intrinsic %s\n", name);
+               g_free (name);
+       }
+
        switch (intrins->name) {
        case SN_get_Count:
                EMIT_NEW_ICONST (cfg, ins, len);