Ensure that SIMD fields are correctly typed (#24377)
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 16 May 2019 16:25:00 +0000 (09:25 -0700)
committerGitHub <noreply@github.com>
Thu, 16 May 2019 16:25:00 +0000 (09:25 -0700)
commitfb2aa6725dd7e5610c5589bc464f9a67470faaf9
tree4d738465b19e15e113b5028eef14cf1dd708f67b
parentff61bfc8aa9f0f71feddc8c03d824b13cc61215c
Ensure that SIMD fields are correctly typed (#24377)

When a struct field is imported, its type needs to be normalized.
Also, the LHS of a struct init, even if a SIMD type, should not be transformed to a non-block node,
except in the case of a SIMD local, in which case it must be transformed to a simple assignment.
Also, add an assert to catch this kind of bug in liveness.

Fix #24336
src/jit/codegenxarch.cpp
src/jit/compiler.hpp
src/jit/gentree.cpp
src/jit/liveness.cpp
src/jit/morph.cpp
src/jit/rationalize.cpp