Fix arm64 localloc with large outgoing argument space
authorBruce Forstall <brucefo@microsoft.com>
Fri, 12 Apr 2019 17:50:56 +0000 (10:50 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Fri, 12 Apr 2019 17:50:56 +0000 (10:50 -0700)
commit2688d6b3137b04d2c3263564334335ec3e1630ad
tree8c70a7d1ef088d75778621a21b22b53c2b943750
parenta6b1e978157278d09247bb82543a21886e087583
Fix arm64 localloc with large outgoing argument space

With a large outgoing argument space, we were attempting to
generate un-encodable ADD and SUB instructions. Call an existing
helper instead that uses the reserved register when needed to
load large constants into a register.
src/jit/codegenarm64.cpp