Cleanup unreachable struct code
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 27 Aug 2019 22:50:24 +0000 (15:50 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Thu, 29 Aug 2019 23:14:06 +0000 (16:14 -0700)
commit8d99e4ec4847ab33e0a91c1fc6dbc8c7bee5d9f3
tree0f86acf505e39e70cb84e8967ab4627c675e2231
parente08458dfc24ced503236bb86cfd5f59f679eaa1c
Cleanup unreachable struct code

A `GT_INDEX_ADDR` never has struct type
`GT_MKREFANY` and `GT_RET_EXPR` don't survive beyond morph
A `GT_IND` representing a struct element doesn't require `EncodeElemType`.

Commit migrated from https://github.com/dotnet/coreclr/commit/ab97d0588492a690bf2ee0d4d1d78e077c488eac
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gtlist.h