Fix wrong copy prop after `ASG(promoted LCL_VAR with 1 field, call)`. (#41197)
authorSergey Andreenko <seandree@microsoft.com>
Mon, 24 Aug 2020 02:29:50 +0000 (19:29 -0700)
committerGitHub <noreply@github.com>
Mon, 24 Aug 2020 02:29:50 +0000 (19:29 -0700)
commitc0a419d172d16c37364cc8918672925d414990b0
treeb29f64662fac4e94260c77a6fba54096da91654e
parent3a4307e4ea7e3a212a73fa72c66c0efe578945d8
Fix wrong copy prop after `ASG(promoted LCL_VAR with 1 field, call)`. (#41197)

* Add Andy's repro test.

* Andy's fix.

* fix other places

* Improve dump.
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/copyprop.cpp
src/coreclr/src/jit/valuenum.cpp
src/tests/JIT/Regression/JitBlue/Runtime_41100/Runtime_41100.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_41100/Runtime_41100.csproj [new file with mode: 0644]