Generate struct LCL_VAR nodes in LocalAddressVisitor (#1084)
authormikedn <onemihaid@hotmail.com>
Thu, 2 Jan 2020 16:48:20 +0000 (18:48 +0200)
committerSergey Andreenko <seandree@microsoft.com>
Thu, 2 Jan 2020 16:48:20 +0000 (08:48 -0800)
commit6f445d6dc237f59d730e0df47f8630b18887d776
tree18328e1edb6ea6cffff69e1e3e159de0523d78d7
parentc4f221c9c3114dfcf0fceabc7ee20ea9a496bc35
Generate struct LCL_VAR nodes in LocalAddressVisitor (#1084)

Converts trees like OBJ(ADDR(LCL_VAR)) into single struct LCL_VAR nodes. It turns out that these are pretty common, thanks to call args & impNormStructVal. Doing this transform before global morph allows local assertion propagation to catch more copies.
src/coreclr/src/jit/morph.cpp