diff --git a/src/coreclr/jit/emitarm64.cpp b/src/coreclr/jit/emitarm64.cpp index 1e011d5be0626..afbcc8ad920c6 100644 --- a/src/coreclr/jit/emitarm64.cpp +++ b/src/coreclr/jit/emitarm64.cpp @@ -3768,6 +3768,7 @@ emitter::code_t emitter::emitInsCodeSve(instruction ins, insFormat fmt) } assert(encoding_found); + ins = (instruction)((unsigned)ins - INS_sve_invalid); switch (index) {