[RyuJIT/ARM32] Fix amount of allocated registers for Localloc.
authorAlexander Soldatov <soldatov.a@samsung.com>
Mon, 17 Apr 2017 13:10:36 +0000 (16:10 +0300)
committerAlexander Soldatov <soldatov.a@samsung.com>
Mon, 17 Apr 2017 13:36:33 +0000 (16:36 +0300)
commit2640b5155d2386f0101de4b4232f2f74dae7eac2
tree082bc1527eb29409690f296fb3716a8e06d91b38
parent6c6a1b5387d44f2d57ac8e8c53a2d099a87d016f
[RyuJIT/ARM32] Fix amount of allocated registers for Localloc.

Now for small allocation (up to 4 store instructions) we always have
1 temporary register which is different from register where result
of stackalloc is returned. Also one additional register will be allocated
for PSP if needed.

Commit migrated from https://github.com/dotnet/coreclr/commit/45b693f07b728f3b54aa95b726993eb7bb1c2453
src/coreclr/src/jit/lsraarm.cpp