-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Test failure JIT\\opt\\Tailcall\\TailcallVerifyWithPrefix\\TailcallVerifyWithPrefix.cmd #79517
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsFailed in Run: runtime-coreclr outerloop 20221211.2 Failed tests:
Error message:
Stack trace:
|
The test is validating that a tailcall happens at a call site without a tail. prefix. After some recent changes we are able to inline functions that introduce an address-taken variable so we no longer tailcall. [INL01 IL=0005 TR=000007 06006F27] [INLINED: callee: below ALWAYS_INLINE size DEVIRT] System.Diagnostics.StackTrace:ToString():System.String:this
[INL02 IL=0002 TR=000071 06006F28] [INLINED: call site: profitable inline] System.Diagnostics.StackTrace:ToString(int):System.String:this
[INL03 IL=0005 TR=000082 06003BCE] [INLINED: callee: below ALWAYS_INLINE size] System.Text.StringBuilder:.ctor(int):this
[INL04 IL=0007 TR=000100 06003BD2] [INLINED: call site: profitable inline] System.Text.StringBuilder:.ctor(int,int):this
...
[INL12 IL=0071 TR=000124 0600055C] [INLINED: callee: aggressive inline attribute] System.GC:AllocateUninitializedArray[ushort](int,bool):ushort[]
[INL13 IL=0003 TR=000199 06005990] [INLINED: callee: below ALWAYS_INLINE size] System.Runtime.CompilerServices.RuntimeHelpers:IsReferenceOrContainsReferences[ushort]():bool
[INL14 IL=0041 TR=000205 06000566] [INLINED: call site: profitable inline] System.GC:<AllocateUninitializedArray>g__AllocateNewUninitializedArray|66_0[ushort](int,bool):ushort[]
[INL15 IL=0021 TR=000231 060007C7] [INLINED: callee: below ALWAYS_INLINE size DEVIRT] System.RuntimeType:get_TypeHandle():System.RuntimeTypeHandle:this where The variable isn't actually address exposed but we are quite conservative still (#65102 would have fixed it). Anyway, the test should not be trying to validate tailcalls without a tail prefix so I will just fix that. |
Otherwise any change can cause us to stop tailcalling conservatively, e.g. due to new inlining introducing an address-taken local. Fix dotnet#79517
Copy&paste ... fixed. |
Otherwise any change can cause us to stop tailcalling conservatively, e.g. due to new inlining introducing an address-taken local. Fix #79517
Failed in Run: runtime-coreclr outerloop 20221211.2
Failed tests:
Error message:
Stack trace:
Report
Summary
The text was updated successfully, but these errors were encountered: