Repository navigation
Test failure: JIT\\Regression\\JitBlue\\GitHub_35821\\GitHub_35821\\GitHub_35821.cmd #36206
Description
Activity
- addedJitStressCLR JIT issues involving JIT internal stress modesCLR JIT issues involving JIT internal stress modes
on May 11, 2020 - addedarea-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMICLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMIuntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on May 11, 2020 - removeduntriagedNew issue has not been triaged by the area ownerNew issue has not been triaged by the area owner
on May 11, 2020 From
CoreCLR Windows_NT arm64 Checked jitstress_isas_nohwintrinsic_nosimd,set COMPlus_TieredCompilation=0 set COMPlus_EnableHWIntrinsic=0 set COMPlus_FeatureSIMD=0@echesakovMSFT @kunalspathak @tannergooding @CarolEidt
I will take a look. This is the new test that I added last week.
I believe this is an existing issue that got exposed because of this test case. The C# version of the test is simple. We just need to create
Vector64.Create(double_imm)and pass it to method.Test3(Vector64.Create(23.1)); [MethodImpl(MethodImplOptions.NoInlining)] public static void Test3(Vector64<double> data) {}
This repros only if
COMPlus_FeatureSIMD=0. With that, we inlineVector64.Create(double value)implementation which isUnsafe.As()as seen here. Then we try to constant propagate the value ofdoublein assertion prop. But when we try to do it same for the tree node that represents the result, we hit assert here becausetree->TypeGet() == TYP_SIMD8. I think the right fix would be to not do constant propagation in such case. I didn't see an easy way to repro it for other types likeTYP_SIMD16, etc. because we might not inline the implementation ofVector128.Create(double).@briansull , @BruceForstall - can one of you confirm my understanding?
@tannergooding - I assume that even you would hit this in your #36267.I believe that the fundamental problem here is the retyping that we do of
TYP_SIMD8return types asTYP_DOUBLE. I believe that the right answer here is to never retypeTYP_SIMDreturn values asTYP_DOUBLE, just as we're moving away from retyping other struct return types. I think @sandreenko might also want to comment here.The issue should be resolved with
JitDoOldStructRetyping = false, I will check that once I finish support for arm32.Thanks for the analysis.
- added a commit that references this issue
on Jul 8, 2020 - ghost locked as resolved and limited conversation to collaborators
on Dec 9, 2020
failed in job: runtime-coreclr jitstress-isas-arm 20200509.1
Error message