JIT: don't self assign to temps (#13484)
authorAndy Ayers <andya@microsoft.com>
Wed, 23 Aug 2017 00:04:02 +0000 (17:04 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Aug 2017 00:04:02 +0000 (17:04 -0700)
commit637bfeffb0fd0378ff6d04d7bb845938b77bdade
treeb46c48302a08046b4e12737fafd26ee81d7d0794
parent1eea080a7b3a13110975b92034a22e4fc473df46
JIT: don't self assign to temps (#13484)

Modify gtNewTempAssign to more generally map self-assignment of temps
into nops.

We already were doing something similar over in `impAssignStruct`, and
now we catch non-struct cases too.
src/jit/gentree.cpp