diff --git a/src/coreclr/jit/compiler.h b/src/coreclr/jit/compiler.h index 42581638c95433..3214a8a581c82e 100644 --- a/src/coreclr/jit/compiler.h +++ b/src/coreclr/jit/compiler.h @@ -8741,7 +8741,10 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX } else { - return 0; + // TODO: We should be returning 0 here, but there are a number of + // places that don't quite get handled correctly in that scenario + + return XMM_REGSIZE_BYTES; } #elif defined(TARGET_ARM64) if (compExactlyDependsOn(InstructionSet_VectorT128)) @@ -8750,7 +8753,10 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX } else { - return 0; + // TODO: We should be returning 0 here, but there are a number of + // places that don't quite get handled correctly in that scenario + + return FP_REGSIZE_BYTES; } #else assert(!"getVectorTByteLength() unimplemented on target arch");