[interp] Retry cprop pass if killing stloc (mono/mono#17491)
authorVlad Brezae <brezaevlad@gmail.com>
Wed, 23 Oct 2019 07:39:27 +0000 (10:39 +0300)
committerGitHub <noreply@github.com>
Wed, 23 Oct 2019 07:39:27 +0000 (10:39 +0300)
commit1883e55ebb8d11a84ad1934f0c375e722ec4c130
tree0cbfda3c668cc1db5094b841a806fc5f23281ff3
parentbdd5952b7fe3713bea439e39415202fda464fa61
[interp] Retry cprop pass if killing stloc (mono/mono#17491)

When replacing a stloc with a pop, we should retry the pass, since it is very likely that we will be able to kill the instruction that pushed that value on the stack.

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