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)
commit4f5e9973f70a52e7f8924d75f12305d967cc2888
treefa4dbd119c8470a14fc47fa95ed6f60cf8a06651
parent043b2ea00f2b2211ab98ed4ccac7e16138c860b2
parentb79942f024bcc919c378b3118f67145de11ebaf4
Merge pull request dotnet/coreclr#7787 from sivarv/cmpOpt

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