Fix non-lclVar odd-byte struct passing
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 9 Aug 2018 23:31:11 +0000 (16:31 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 10 Aug 2018 21:28:32 +0000 (14:28 -0700)
commit74047ae1244062ef383de15163ac026d8b9f549a
tree24236940dbc41e1f31db9072a98db9ccc92d5b48
parentce175cbb849378c2ef1985ff3994cd0d82f3d8fe
Fix non-lclVar odd-byte struct passing

When a non-power-of-2 struct is passed, we can only use an IND if the arg is a local.

Fix #19288
src/jit/morph.cpp
tests/arm/Tests.lst
tests/arm64/Tests.lst
tests/src/JIT/Regression/JitBlue/GitHub_19288/GitHub_19288.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_19288/GitHub_19288.csproj [new file with mode: 0644]