-
Notifications
You must be signed in to change notification settings - Fork 5k
[mono][aot] aot compiler crash #115203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Tagging subscribers to 'arch-wasm': @lewing |
unsurprisingly it looks like the smoke tests are not sufficient to catch regressions everywhere :( |
It passes in the interpreter and with EAT but no AOT |
#115204 to enable tests in the smoke builds |
from the pr |
Looks like #99596 caused the regression |
crashes are in the range covered by 2745546 |
First failing method: [Fact]
public void Vector128DoubleShuffleNativeOneInputTest()
{
Vector128<double> vector = Vector128.Create((double)1, 2);
Vector128<double> result = Vector128.ShuffleNative(vector, Vector128.Create((long)1, 0));
for (int index = 0; index < Vector128<double>.Count; index++)
{
Assert.Equal((double)(Vector128<double>.Count - index), result.GetElement(index));
}
} |
This is very odd changing it to call Shuffle directly does not crash [Fact]
public void Vector128DoubleShuffleNativeOneInputTest()
{
Vector128<double> vector = Vector128.Create((double)1, 2);
Vector128<double> result = Vector128.Shuffle(vector, Vector128.Create((long)1, 0));
for (int index = 0; index < Vector128<double>.Count; index++)
{
Assert.Equal((double)(Vector128<double>.Count - index), result.GetElement(index));
}
} But Vector128 ShuffleNative is the following #if !MONO
[Intrinsic]
#else
[MethodImpl(MethodImplOptions.AggressiveInlining)]
#endif
public static Vector128<double> ShuffleNative(Vector128<double> vector, Vector128<long> indices)
{
#if !MONO
return ShuffleNativeFallback(vector, indices);
#else
return Shuffle(vector, indices);
#endif
} Is it crashing trying to inline it? |
.\dotnet.cmd build /t:Test /p:TargetOS=browser /p:Configuration=Release /p:EnableAggressiveTrimming=true /p:RunAOTCompilation=true .\src\libraries\System.Runtime.Intrinsics\tests\
The text was updated successfully, but these errors were encountered: