diff --git a/src/coreclr/src/jit/gentree.cpp b/src/coreclr/src/jit/gentree.cpp index bc77c5cd4a3a7..7991fc50d555d 100644 --- a/src/coreclr/src/jit/gentree.cpp +++ b/src/coreclr/src/jit/gentree.cpp @@ -15137,9 +15137,9 @@ GenTree* Compiler::gtNewTempAssign( // and call returns. Lowering and Codegen will handle these. ok = true; } - else if (dstTyp == TYP_STRUCT && valTyp == TYP_INT) + else if ((dstTyp == TYP_STRUCT) && (valTyp == TYP_INT)) { - // It could come from `ASG(struct, 0)` that was propogated to `RETURN struct(0)`, + // It could come from `ASG(struct, 0)` that was propagated to `RETURN struct(0)`, // and now it is merging to a struct again. assert(!compDoOldStructRetyping()); assert(tmp == genReturnLocal); @@ -17202,10 +17202,6 @@ CORINFO_CLASS_HANDLE Compiler::gtGetStructHandleIfPresent(GenTree* tree) { default: break; - case GT_BITCAST: - assert(!compDoOldStructRetyping()); - structHnd = gtGetStructHandleIfPresent(tree->AsUnOp()->gtOp1); - break; case GT_MKREFANY: structHnd = impGetRefAnyClass(); break; diff --git a/src/coreclr/src/jit/lower.cpp b/src/coreclr/src/jit/lower.cpp index 18a05e2a7e57d..78aa903ce06ad 100644 --- a/src/coreclr/src/jit/lower.cpp +++ b/src/coreclr/src/jit/lower.cpp @@ -3176,7 +3176,6 @@ void Lowering::LowerCallStruct(GenTreeCall* call) case GT_STOREIND: assert(user->TypeIs(TYP_SIMD8, TYP_REF)); user->ChangeType(returnType); - user->SetOper(GT_STOREIND); break; default: