LSRA Arm64 consistent reg sets
authorCarol Eidt <carol.eidt@microsoft.com>
Fri, 20 Oct 2017 03:24:33 +0000 (20:24 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 20 Oct 2017 03:24:33 +0000 (20:24 -0700)
commita4d2ebd2c865e217c2ba558b136609297f76988f
tree5d3755b4b160d5ab38b55c1d61b9bee6813f60d9
parent138f0b70a3dbdc695aa805356a65fb8a741b11b2
LSRA Arm64 consistent reg sets

tryAllocateFreeReg() uses the RegOrder array to iterate over the available registers. This needs to be consistent with the available registers of the given type. Otherwise, allocateBusyReg() will assert when it finds a free register that should have been allocated in tryAllocateFreeReg().
Fix #14591
src/jit/lsra.cpp
src/jit/target.h