[RyuJIT/ARM32] Fix regression
authorHyung-Kyu Choi <hk0110.choi@samsung.com>
Mon, 14 Aug 2017 10:18:13 +0000 (19:18 +0900)
committerHyung-Kyu Choi <hk0110.choi@samsung.com>
Mon, 14 Aug 2017 10:18:13 +0000 (19:18 +0900)
- 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>
src/jit/lsra.cpp

index 49a4854..83f9cd3 100644 (file)
@@ -9268,6 +9268,11 @@ void LinearScan::resolveRegisters()
                                 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
                         }