Missing throw on vector division on xarch
Open
area-CodeGen-coreclr
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
The following code throws a DivideByZeroException with tiering, but exits without throwing under `TieredCompilation=0`.
Have a fix locally
```
using System.Numerics;
public class TestClass
{
static int int_2819 = 0;
static Vector s_sink;
Vector v_int_93 = Vector.Create(1);
public void Method0()
{
s_sink = (v_int_93 ^ v_int_93) *
Vector.CreateHarmonicSequence(int_2819, int_2819);
}
public static int Main()
{
new TestClass().Method0();
return 0;
}
}
```
Contributor guide
Assessment
This issue has not been assessed yet.