- This fixes regression cuased by PR #13190
- Restore code for resolving registers for multi register operator
Signed-off-by: Hyung-Kyu Choi <hk0110.choi@samsung.com>
GenTreePutArgSplit* splitArg = treeNode->AsPutArgSplit();
splitArg->SetRegSpillFlagByIdx(GTF_SPILL, currentRefPosition->getMultiRegIdx());
}
+ else if (treeNode->OperIsMultiRegOp())
+ {
+ GenTreeMultiRegOp* multiReg = treeNode->AsMultiRegOp();
+ multiReg->SetRegSpillFlagByIdx(GTF_SPILL, currentRefPosition->getMultiRegIdx());
+ }
#endif
}