JIT: Allow struct promotion in GS frames (#16220)
authorAndy Ayers <andya@microsoft.com>
Mon, 12 Feb 2018 19:30:45 +0000 (11:30 -0800)
committerGitHub <noreply@github.com>
Mon, 12 Feb 2018 19:30:45 +0000 (11:30 -0800)
commit6269342583ba78c730e6744206c5d9f72583addb
tree36ae391b43c2b9d25415a533235cf83b949fc572
parentc889a27ea69ef92b751342162ec64b9c35f97368
JIT: Allow struct promotion in GS frames (#16220)

Enable struct promotion in methods where the jit is also emtting a stack guard.
Not allowing promotion seems like an unnecessary limitation and leads to poor
performance in methods with both Span and stackalloc.

Closes #16197.
src/jit/morph.cpp