[interp] Handle more cases for stloc.np optimization
commitf2006f61dc763cf8f8fd7f56743d7cd40f2f22c8
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 4 Oct 2019 08:18:42 +0000 (4 11:18 +0300)
committerLarry Ewing <lewing@microsoft.com>
Tue, 8 Oct 2019 00:35:57 +0000 (7 19:35 -0500)
tree15792baf0aac6c48c0538844db72e62df1a88d9e
parentfc100ae04315a8954881169eee5cdf156a43b48c
[interp] Handle more cases for stloc.np optimization

We emit stloc.np if we have "stloc local; ldloc local". Bu we can also emit if we have "stloc loc1; ldloc loc2" and loc2 == loc1.
mono/mini/interp/transform.c