JIT: Fix call flag propagation for GenTreeArrElem (#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)
commit626def86af589734999a0e62d3a83c2acb9de54a
tree6a008a9d281db750f51f32795d5eec7b116392ee
parent67ed270f13012e85b2925360d32673614f834449
JIT: Fix call flag propagation for GenTreeArrElem (#20660)

Closes #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).
src/jit/compiler.hpp
src/jit/gentree.cpp
src/jit/gentree.h
tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_20651/GitHub_20651.csproj [new file with mode: 0644]