Start generating LCL_FLDs in LocalAddressVisitor (#737)
authormikedn <onemihaid@hotmail.com>
Mon, 16 Dec 2019 18:49:09 +0000 (20:49 +0200)
committerSergey Andreenko <seandree@microsoft.com>
Mon, 16 Dec 2019 18:49:09 +0000 (10:49 -0800)
commit4fa163852af62908948e8108a03f4044f96d2bc1
tree9f3a7c81698e56a2d2ce03487c4f6ac1c06ce75a
parentc2d89a824a7942a8628145930509635c410e2d15
Start generating LCL_FLDs in LocalAddressVisitor (#737)

* Start generating LCL_FLDs in LocalAddressVisitor

* Fix broken vararg offset computation

Since it's subtracted the local field offset also need to be subtracted so it actually ends up being added as needed.

* Introduce array/index temps for LCL_FLDs

Previously fgMorphArrayIndex was always creating temporaries for array/index FIELD trees. Since now LCL_FLDs are created before fgMorphArrayIndex this preserves the existing behavior.

* CR feedback

* Fix incorrect field sequence type check

* Fix GetTail formatting
src/coreclr/src/jit/compiler.h
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/morph.cpp
src/coreclr/src/jit/simd.cpp