[interp] Rerun cprop pass if stloc.np intructions were eliminated
authorVlad Brezae <brezaevlad@gmail.com>
Fri, 4 Oct 2019 11:22:13 +0000 (14:22 +0300)
committerLarry Ewing <lewing@microsoft.com>
Tue, 8 Oct 2019 00:35:57 +0000 (19:35 -0500)
commit66b064e7b768f6729ca1b905e313497fe569bc9d
treecab81e8c038472c4658f5fddbae135407f3405b7
parent05099ad8a2d24a2784d09457bf6e4af2268e011a
[interp] Rerun cprop pass if stloc.np intructions were eliminated

If we eliminate these instructions, it means we removed instructions that use the top of stack. Without them we might be able to optimize away that stack slot usage. If we retraverse the instruction stream, then we must handle movloc and stloc.np separately.

Commit migrated from https://github.com/mono/mono/commit/d9c9a5333249a3274f788776de33e06de92d5674
src/mono/mono/mini/interp/transform.c