runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Fix the execution order for array range check nodes.

Open pgavlin opened this issue 10 years ago • 1 comments

In an array range check tree, the subtree that computes the array index must execute before the subtree that computes the array length. This currently causes the regression test added for VSO 283795 in dotnet/coreclr#8031 to fail when using the x86 legacy backend; the RyuJIT backend only passes the test because it marks the array length subtree as contained by the range check node during lowering.

pgavlin avatar Nov 10 '16 22:11 pgavlin

@pgavlin As I already wrote in dotnet/coreclr#8031, ARM legacy backend has same problem. I will follow up this issue for ARM. Thanks!

hqueue avatar Nov 14 '16 12:11 hqueue