Use GT_NULLCHECK for unconsumed indirections. (#32641)
authorEugene Rozenfeld <erozen@microsoft.com>
Sat, 22 Feb 2020 01:53:37 +0000 (17:53 -0800)
committerGitHub <noreply@github.com>
Sat, 22 Feb 2020 01:53:37 +0000 (17:53 -0800)
commitd872a664488f773b98376365da93c2f3425e15bd
tree952fef8d1b5180fc43b1e13b8e7323be8234e041
parentfc37561e320b46d277cd404dda7a60c0063e0f97
Use GT_NULLCHECK for unconsumed indirections. (#32641)

All unconsumed indirections are now GT_NULLCHECKs, which
allows optFoldNullChecks to remove more redundant null checks.
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/morph.cpp