Skip to content
Prev Previous commit
Next Next commit
Fix failures after a recent HW changes.
  • Loading branch information
Sergey Andreenko committed May 8, 2020
commit 9d1acfd5953dcd07e6622dd23873fffca8675b1c
5 changes: 5 additions & 0 deletions src/coreclr/src/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3057,7 +3057,12 @@ void Lowering::LowerRetStruct(GenTreeUnOp* ret)
LowerRetStructLclVar(ret);
break;

#ifdef FEATURE_SIMD
case GT_SIMD:
#endif // FEATURE_SIMD
#ifdef FEATURE_HW_INTRINSICS
case GT_HWINTRINSIC:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this a case introduced by the move of some GT_SIMD intrinsics to be GT_HWINTRINSIC?

(Just want to understand if its a case I missed and where the error was raised so I can check it next time... 😄)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but it was happening only with JitOldStructRetyping=0 that is disabled by default.

#endif // FEATURE_HW_INTRINSICS
case GT_LCL_FLD:
{
GenTreeUnOp* bitcast = new (comp, GT_BITCAST) GenTreeOp(GT_BITCAST, ret->TypeGet(), retVal, nullptr);
Expand Down