Factor out method to check for a lclVar update tree
authorCarol Eidt <carol.eidt@microsoft.com>
Mon, 6 Jun 2016 21:24:05 +0000 (14:24 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Tue, 7 Jun 2016 01:35:27 +0000 (18:35 -0700)
commit6df1dafb0aebd92b45c18b71d0c37df0e8c489e3
tree2b5334115724b5b43b1bc7381eb1c94d5b199953
parentf818f1bb1aa0ce98a44061c3c05898c11efa89ab
Factor out method to check for a lclVar update tree

This is functionality currently incorporated in optIsLoopIncrTree(),
but which is also useful for the RyuJIT tutorial.

Commit migrated from https://github.com/dotnet/coreclr/commit/be46c18bb176b255cd8d1e5496ebda8f8ba73ca7
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h
src/coreclr/src/jit/optimizer.cpp