Fix GT_ADD trees with mismatched operands (#62177)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Wed, 1 Dec 2021 11:04:11 +0000 (20:04 +0900)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 11:04:11 +0000 (12:04 +0100)
commit9fae29dc51ad8edf86e754f3ae1ad750951c571b
tree4f1d1e3b395675d524fad09284c650cddb3d3c25
parentee3b77d9ae6781d91d0f456cb7def86bb0c4526a
Fix GT_ADD trees with mismatched operands (#62177)

Fixes issue observed in https://github.com/dotnet/runtimelab/issues/1128#issuecomment-979370161 - the trees generate additions of `TYP_I_IMPL` with `TYP_INT` and that confuses things down the line.
src/coreclr/jit/importer.cpp
src/coreclr/jit/morph.cpp