Fix dummy OBJ/BLK/IND nodes. (#39824)
authorSergey Andreenko <seandree@microsoft.com>
Thu, 30 Jul 2020 02:33:37 +0000 (19:33 -0700)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2020 02:33:37 +0000 (19:33 -0700)
commitad90f7ab81b99fab7ca4891c3943021827e66315
tree3710ad898ed17a5f2198942cfd05594572230976
parent44add552b4cea659bcfa64ab154e1c06b0257eeb
Fix dummy OBJ/BLK/IND nodes. (#39824)

* Add a repro.

* Add a helper function `fgTryRemoveNonLocal`.

* Fix the issue.

* extract `gtChangeOperToNullCheck`.

* update comments.
src/coreclr/src/jit/compiler.cpp
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/liveness.cpp
src/tests/JIT/Regression/JitBlue/Runtime_39737/Runtime_39737.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_39737/Runtime_39737.csproj [new file with mode: 0644]