JIT: Fix call flag propagation for GenTreeArrElem (dotnet/coreclr#20660)
authorAndy Ayers <andya@microsoft.com>
Tue, 30 Oct 2018 18:24:37 +0000 (11:24 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Oct 2018 18:24:37 +0000 (11:24 -0700)
commit665ffb2fd55dd9a1a66886f9c5e245c8659ac4e2
treee565c357b5923ed9c60450ca37d3f46fd4fb2712
parent8d57e9588fe95873e487968ec4d06d16fcea4d2d
JIT: Fix call flag propagation for GenTreeArrElem (dotnet/coreclr#20660)

Closes dotnet/coreclr#20651.

Also fix up some "near miss" cases for GenTreeField and GenTreeBoundsCheck,
where we get lucky and the importer currently splits trees with temps so the
currently ignored child nodes have no interesting side effects.

Revise GenTreeField a bit to pull more of the initialization work into the
constructor. Add a missing R2R field propagation for field nodes in GtClone
(evidently also never hit in practice).

Commit migrated from https://github.com/dotnet/coreclr/commit/626def86af589734999a0e62d3a83c2acb9de54a
src/coreclr/src/jit/compiler.hpp
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.cs [new file with mode: 0644]
src/coreclr/tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.csproj [new file with mode: 0644]