Merge pull request dotnet/coreclr#7787 from sivarv/cmpOpt
authorSivarv <sivarv@microsoft.com>
Thu, 27 Oct 2016 02:15:23 +0000 (19:15 -0700)
committerGitHub <noreply@github.com>
Thu, 27 Oct 2016 02:15:23 +0000 (19:15 -0700)
Optimize 'test' instruction in case of op1 == 0 or op1 != 0 where op1 is known to set Zero flag.

Commit migrated from https://github.com/dotnet/coreclr/commit/fb4f9dc6f125f666dbcd45eb538125a46d24003b


Trivial merge