Delete dead code from and fix `getSIMDStructFromField` (#71226)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Mon, 25 Jul 2022 17:04:57 +0000 (20:04 +0300)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 17:04:57 +0000 (10:04 -0700)
commit9a461adae2e7551a7478991a6b7713dbbfd9e70a
treec9f983138dcac7f5dcfb215cb06340f3fab26e7d
parentc9d785464d0de208ad041acecf81d09a707e0aa4
Delete dead code from and fix `getSIMDStructFromField` (#71226)

* Clean out dead code from "getSIMDStructFromField"

The only pattern possible here is "FIELD(ADDR(LCL_VAR))".

* Fix the field type issue

* Fix the field offset issue

* Add tests
src/coreclr/jit/morph.cpp
src/tests/JIT/Regression/JitBlue/Runtime_71219/Runtime_71219.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_71219/Runtime_71219.csproj [new file with mode: 0644]