[RyuJIT/ARM32] Fix MultiRegOp declaration
authorAlexander Soldatov <soldatov.a@samsung.com>
Mon, 28 Aug 2017 12:54:47 +0000 (15:54 +0300)
committerAlexander Soldatov <soldatov.a@samsung.com>
Mon, 28 Aug 2017 12:54:47 +0000 (15:54 +0300)
According to last changes in OperIsMultiRegOp() declaration of MultiRegOp
is needed of some changes.

Commit migrated from https://github.com/dotnet/coreclr/commit/8b00aceb16e0201f196a9889989d78f3e0f922f6

src/coreclr/src/jit/gtstructs.h

index 2004f40..34d1794 100644 (file)
@@ -107,7 +107,11 @@ GTSTRUCT_1(SIMD        , GT_SIMD)
 GTSTRUCT_1(AllocObj    , GT_ALLOCOBJ)
 GTSTRUCT_2(CC          , GT_JCC, GT_SETCC)
 #if !defined(LEGACY_BACKEND) && defined(_TARGET_ARM_)
-GTSTRUCT_2(MultiRegOp  , GT_MUL_LONG, GT_PUTARG_REG)
+#ifdef ARM_SOFTFP
+GTSTRUCT_3(MultiRegOp  , GT_MUL_LONG, GT_PUTARG_REG, GT_COPY)
+#else
+GTSTRUCT_2(MultiRegOp  , GT_MUL_LONG, GT_COPY)
+#endif
 #endif
 /*****************************************************************************/
 #undef  GTSTRUCT_0