File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -17162,6 +17162,18 @@ bool Compiler::gtSplitTree(BasicBlock* block,
17162
17162
}
17163
17163
#endif
17164
17164
17165
+ if ((*use)->OperIs(GT_COMMA))
17166
+ {
17167
+ // We might as well get rid of the comma while we're at it. This avoids unnecessarily nested trees and
17168
+ // also handles splitting some irregular nodes when nested under commas
17169
+ // (like COMMA(op1, FIELD_LIST(...))).
17170
+ SplitOutUse(UseInfo{&(*use)->AsOp()->gtOp1, *use}, false);
17171
+ *use = (*use)->gtGetOp2();
17172
+ SplitOutUse(useInf, userIsReturned);
17173
+ MadeChanges = true;
17174
+ return;
17175
+ }
17176
+
17165
17177
if ((*use)->OperIs(GT_FIELD_LIST, GT_INIT_VAL))
17166
17178
{
17167
17179
for (GenTree** operandUse : (*use)->UseEdges())
You can’t perform that action at this time.
0 commit comments