Disable promotion of custom-layout structs for legacy backend.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 21 Jul 2017 16:37:59 +0000 (09:37 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Fri, 21 Jul 2017 16:39:58 +0000 (09:39 -0700)
commiteeff376fff19c88850ca0a18fd734fd80e5fde5f
tree09078a839ed8ef257fc221b679bb8578858c1e0f
parent8a163ca04ae8734f4a9ee51e470beda933c96333
Disable promotion of custom-layout structs for legacy backend.

These kinds of structs--particularly structs with holes--are not handled
correctly by argument morphing on ARM.

Promotion of these kinds of structs was already disabled for the x86
legacy backend; this change disables the optimization  for all legacy
backend targets.

Fixes #12909.
src/jit/lclvars.cpp