Fix GT_LCL_FLD case in gtGetStructHandleIfPresent
authorCarol Eidt <carol.eidt@microsoft.com>
Fri, 27 Jan 2017 18:09:58 +0000 (10:09 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 27 Jan 2017 18:33:04 +0000 (10:33 -0800)
commit07f1be0ff06140cd04923e0a718f9e5ff8de59e3
treece1b1d1daa54fa02e095f6015b4161cfba62b807
parentf013c710c4c3a24c372f4d8f967d244f6dd04717
Fix GT_LCL_FLD case in gtGetStructHandleIfPresent

This method was incorrectly returning the parent struct handle instead of the handle for the field. This is showing up in remorphing of a SIMD field that was assigned in a field-by-field assignment.

Fix dotnet/coreclr#9159

Commit migrated from https://github.com/dotnet/coreclr/commit/9f09b8e05871a407dbd2233ae6a8e123ea52fd72
src/coreclr/src/jit/gentree.cpp