diff options
author | Andy Ayers <andya@microsoft.com> | 2019-01-04 11:05:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-04 11:05:43 -0800 |
commit | df4a1854aa42c1e97874b00fe49339e216e30af9 (patch) | |
tree | 23a04ba3e574733f398a758b5b3e7bcc7711df7b /src/jit/lclvars.cpp | |
parent | f0c969a072c05c0d602d16d68bc6e130fd17be88 (diff) | |
download | coreclr-df4a1854aa42c1e97874b00fe49339e216e30af9.tar.gz coreclr-df4a1854aa42c1e97874b00fe49339e216e30af9.tar.bz2 coreclr-df4a1854aa42c1e97874b00fe49339e216e30af9.zip |
JIT: don't optimize struct copies for call args in debug or minopts (#21792)
The jit will opportunistically optimize away copies for some struct call
arguments, if that argument is a "last use" for the struct (and some other
conditions apply).
In cases like #21544 this leads to confusing debug experiences as inputs
to a call appear to be modified by the call.
Also we really should not be optimizing the code this way in debug or in
minopts codegen modes. So, block this optimization for debug and minopts.
Closes #21544.
Diffstat (limited to 'src/jit/lclvars.cpp')
0 files changed, 0 insertions, 0 deletions