diff --git a/src/mono/mono/mini/mini-amd64.c b/src/mono/mono/mini/mini-amd64.c index aa60685fe440a1..2daf4adc859b7f 100644 --- a/src/mono/mono/mini/mini-amd64.c +++ b/src/mono/mono/mini/mini-amd64.c @@ -2167,7 +2167,7 @@ mono_arch_get_llvm_call_info (MonoCompile *cfg, MonoMethodSignature *sig) if ((t->type == MONO_TYPE_GENERICINST) && !cfg->full_aot && !sig->pinvoke) { MonoClass *klass = mono_class_from_mono_type_internal (t); - if (m_class_is_simd_type (klass)) { + if (MONO_CLASS_IS_SIMD (cfg, klass)) { linfo->args [i].storage = LLVMArgVtypeInSIMDReg; break; } diff --git a/src/mono/mono/mini/mini-arm64.c b/src/mono/mono/mini/mini-arm64.c index 402d83a8a4f35f..081e5bc151aeca 100644 --- a/src/mono/mono/mini/mini-arm64.c +++ b/src/mono/mono/mini/mini-arm64.c @@ -2523,7 +2523,7 @@ mono_arch_get_llvm_call_info (MonoCompile *cfg, MonoMethodSignature *sig) case ArgVtypeInIRegs: if ((t->type == MONO_TYPE_GENERICINST) && !cfg->full_aot && !sig->pinvoke) { MonoClass *klass = mono_class_from_mono_type_internal (t); - if (m_class_is_simd_type (klass)) { + if (MONO_CLASS_IS_SIMD (cfg, klass)) { lainfo->storage = LLVMArgVtypeInSIMDReg; break; } diff --git a/src/mono/mono/mini/mini-llvm.c b/src/mono/mono/mini/mini-llvm.c index 75bc7e2c9144cd..b5bcff6d6e2b0d 100644 --- a/src/mono/mono/mini/mini-llvm.c +++ b/src/mono/mono/mini/mini-llvm.c @@ -748,7 +748,7 @@ create_llvm_type_for_type (MonoLLVMModule *module, MonoClass *klass) */ /* SIMD types have size 16 in mono_class_value_size () */ if (m_class_is_simd_type (klass)) - nfields = 16/ esize; + nfields = 16 / esize; size = nfields; eltypes = g_new (LLVMTypeRef, size); for (i = 0; i < size; ++i)