JIT: Add missing 'MadeChanges = true' in gtSplitTree (#83360)
authorJakob Botsch Nielsen <Jakob.botsch.nielsen@gmail.com>
Tue, 14 Mar 2023 09:37:31 +0000 (10:37 +0100)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2023 09:37:31 +0000 (10:37 +0100)
Fix #83332

src/coreclr/jit/gentree.cpp

index 1d6bd34f0e8394d36ee46067ce2774281a45d5bb..8b71e772404663da9ab34cdf34619d3939ee5adf 100644 (file)
@@ -16386,7 +16386,9 @@ bool Compiler::gtSplitTree(
                     // directly instead of the comma so that we get the proper
                     // location treatment. The edge will then be the User ---
                     // op2 edge.
-                    *use = (*use)->gtGetOp2();
+                    *use        = (*use)->gtGetOp2();
+                    MadeChanges = true;
+
                     UseInfo use2{use, user};
 
                     // Locations are never returned.