Minor cleanups in reg candidate lclVar node processing. (#12828)
authorPat Gavlin <pgavlin@gmail.com>
Sat, 15 Jul 2017 21:24:08 +0000 (14:24 -0700)
committerGitHub <noreply@github.com>
Sat, 15 Jul 2017 21:24:08 +0000 (14:24 -0700)
commit4fda6422e6feb10c9e5ad2c0bddc1c25d8275124
tree1d4b25d93d64c5c0ffa2947e33dbf969037f6858
parent496484f20bed6b5bf3f4665669b598101ff9d598
Minor cleanups in reg candidate lclVar node processing. (#12828)

In particular, ignore reg candidate lclVar nodes that are not used (i.e.
`gtLsraInfo.isLocalDefUse` is `true`). These nodes are side-effect-free
and can therefore be eliminated if they are not used (indeed, the code
generator already ignores such uses).
src/jit/lsra.cpp