We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3195fbb commit 0633ecfCopy full SHA for 0633ecf
src/coreclr/jit/lclvars.cpp
@@ -2175,6 +2175,13 @@ bool Compiler::StructPromotionHelper::ShouldPromoteStructVar(unsigned lclNum)
2175
lclNum);
2176
shouldPromote = false;
2177
}
2178
+#if defined(TARGET_LOONGARCH64) || defined(TARGET_RISCV64)
2179
+ else if (varDsc->lvIsSplit)
2180
+ {
2181
+ JITDUMP("Not promoting multireg struct local V%02u, because it is splitted.\n", lclNum);
2182
+ shouldPromote = false;
2183
+ }
2184
+#endif // TARGET_LOONGARCH64 || TARGET_RISCV64
2185
2186
else
2187
#endif // !FEATURE_MULTIREG_STRUCT_PROMOTE
0 commit comments