[arm] respect potential spilling for overflow flag check (#13564)
commit5852d1cf74257b06b30fd7ad23b9427a37343fe3
authorBernhard Urban <bernhard.urban@xamarin.com>
Thu, 21 Mar 2019 12:15:31 +0000 (21 13:15 +0100)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Thu, 21 Mar 2019 12:15:31 +0000 (21 08:15 -0400)
tree5e18ba8262a15c0ff8d84b2c9253905076444eb5
parent037faa47cceb64263a9b1990dcaa6f45a32c241e
[arm] respect potential spilling for overflow flag check (#13564)

[arm] respect potential spilling for overflow flag check

```
  18 int_sbb R77 <- R54 R57
  19 store_membase_reg [arm_fp + 0x24] <- R77
  20 cond_exc_c OverflowException
```
this wasn't properly handled by the arch lowering pass.

Fixes https://github.com/mono/mono/issues/13284
mono/mini/exceptions.cs
mono/mini/mini-arm.c