Fix NullCheck register modeling
authorCarol Eidt <carol.eidt@microsoft.com>
Mon, 28 Aug 2017 19:54:39 +0000 (12:54 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Mon, 28 Aug 2017 20:12:01 +0000 (13:12 -0700)
commitb318e2a3273fb2e25c316c3c1fe1751e9c95215a
tree9bff3701c0b30f2d27d5d896c298f00f4a71b798
parent3758e847988cf8d0e950205657dd0bbdd6818fe6
Fix NullCheck register modeling

NullCheck is currently tagged with `isLocalDefUse` on all targets. However, for XARCH it is implemented with a compare (no target), and for ARM64 it is implemented with a load to REG_ZR, so neither of those require a target register.
Only on ARM is a target register required, and it is a localDefUse because the result is not used.
src/jit/lsraarm.cpp
src/jit/lsraarm64.cpp
src/jit/lsraxarch.cpp