-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NullReferenceException
with bulk memory copy helper on win-x86
#102138
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
Might also be related to #101890 |
Thanks, this repro is definitely simpler to work with than #101890 |
I think the problem is this check inside runtime/src/coreclr/jit/lower.cpp Lines 3594 to 3599 in 4b87c13
On x86 we have |
That probably means this issue is unrelated to #101890. |
can confirm that |
cc @EgorBo, it looks like the transformation in lowering is not correct for the x86 invariants around the ordering of arguments when they need to be pushed on the stack. The size that is supposed to be passed to the bulk write barrier ends up pushed to
M8
as its last parameter here, so insideM8
we havearg1 = 16
.The text was updated successfully, but these errors were encountered: