Following code correctly throws exception in TieredCompilation, does not throw with TieredCompilation=0.
gtNewSimdIsInfinityNode probably needs to respect side effects before folding.
using System.Runtime.Intrinsics;
using System.Runtime.Intrinsics.Arm;
public class TestClass
{
public static int Main(string[] args)
{
Vector64<int> a = Vector64<int>.Zero;
byte idx = 2;
Vector64.IsInfinity(AdvSimd.Arm64.MultiplyDoublingScalarBySelectedScalarSaturateHigh(a, a, idx));
return 1;
}
}
Following code correctly throws exception in TieredCompilation, does not throw with TieredCompilation=0.
gtNewSimdIsInfinityNodeprobably needs to respect side effects before folding.