Keep precise argument sizes between import and morph. (#43130)
authorSergey Andreenko <seandree@microsoft.com>
Wed, 25 Nov 2020 00:44:23 +0000 (16:44 -0800)
committerGitHub <noreply@github.com>
Wed, 25 Nov 2020 00:44:23 +0000 (16:44 -0800)
commit3e65d689d5ed03589c4f42fc81fab995b0be7f3c
tree22c0bfef7577dc1ddad123245a841726fa049a74
parent50c4607c00ddae788739204f8439bf482697b01f
Keep precise argument sizes between import and morph. (#43130)

Create `GT_PUTARG_TYPE` when signature type does not match node type.
Check in morph that this information has survived inlining and other phases between.
13 files changed:
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/ee_il_dll.cpp
src/coreclr/src/jit/flowgraph.cpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/gtlist.h
src/coreclr/src/jit/importer.cpp
src/coreclr/src/jit/inline.h
src/coreclr/src/jit/lclvars.cpp
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/rationalize.cpp
src/libraries/Microsoft.CSharp/tests/IntegerBinaryOperationTests.cs