Skip to content

[X64] [jakobbotsch] JIT: Fold more always failing type checks #223

@MihuBot

Description

@MihuBot

Build completed in 1 hour 34 minutes.
dotnet/runtime#97005

CoreLib diffs

Found 2 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 7284601
Total bytes of diff: 7284558
Total bytes of delta: -43 (-0.00 % of base)
Total relative delta: -0.13
    diff is an improvement.
    relative diff is an improvement.


Top file improvements (bytes):
         -43 : System.Private.CoreLib.dasm (-0.00 % of base)

1 total files with Code Size differences (1 improved, 0 regressed), 0 unchanged.

Top method improvements (bytes):
         -43 (-13.48 % of base) : System.Private.CoreLib.dasm - System.Reflection.RuntimeCustomAttributeData:Init(System.Runtime.CompilerServices.TypeForwardedToAttribute):this (FullOpts)

Top method improvements (percentages):
         -43 (-13.48 % of base) : System.Private.CoreLib.dasm - System.Reflection.RuntimeCustomAttributeData:Init(System.Runtime.CompilerServices.TypeForwardedToAttribute):this (FullOpts)

1 total methods with Code Size differences (1 improved, 0 regressed), 55874 unchanged.

--------------------------------------------------------------------------------

Frameworks diffs

Diffs
Found 261 files with textual diffs.

Summary of Code Size diffs:
(Lower is better)

Total bytes of base: 38613028
Total bytes of diff: 38612852
Total bytes of delta: -176 (-0.00 % of base)
Total relative delta: 0.83
    diff is an improvement.
    relative diff is a regression.


Top file regressions (bytes):
         312 : System.Data.Common.dasm (0.02 % of base)

Top file improvements (bytes):
        -231 : System.Text.Json.dasm (-0.02 % of base)
        -155 : System.ComponentModel.Composition.dasm (-0.04 % of base)
         -59 : System.Reflection.MetadataLoadContext.dasm (-0.02 % of base)
         -43 : System.Private.CoreLib.dasm (-0.00 % of base)

5 total files with Code Size differences (4 improved, 1 regressed), 251 unchanged.

Top method regressions (bytes):
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[double,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[double],System.Func`2[double,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[int,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[int],System.Func`2[int,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[long,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[long],System.Func`2[long,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[short,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[short],System.Func`2[short,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[System.Numerics.Vector`1[float],System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[System.Numerics.Vector`1[float]],System.Func`2[System.Numerics.Vector`1[float],System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[ubyte,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[ubyte],System.Func`2[ubyte,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)

Top method improvements (bytes):
        -116 (-32.77 % of base) : System.ComponentModel.Composition.dasm - System.ComponentModel.Composition.CompositionException+<>c__DisplayClass19_0:<CalculatePaths>b__0(System.Collections.Generic.Stack`1[System.ComponentModel.Composition.CompositionError]):this (FullOpts)
         -53 (-10.52 % of base) : System.Reflection.MetadataLoadContext.dasm - System.Reflection.TypeLoading.CustomAttributeHelpers:CloneForApiReturn(System.Reflection.CustomAttributeTypedArgument):System.Reflection.CustomAttributeTypedArgument (FullOpts)
         -43 (-13.48 % of base) : System.Private.CoreLib.dasm - System.Reflection.RuntimeCustomAttributeData:Init(System.Runtime.CompilerServices.TypeForwardedToAttribute):this (FullOpts)
         -39 (-11.68 % of base) : System.ComponentModel.Composition.dasm - System.ComponentModel.Composition.Hosting.CatalogExportProvider+<>c__DisplayClass43_0:<UpdateRejections>b__0():this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[ubyte]:SetShouldSerialize(System.Delegate):this (FullOpts)
          -6 (-19.35 % of base) : System.Reflection.MetadataLoadContext.dasm - System.Reflection.TypeLoading.RoConstructedGenericType:GetTypeCodeImpl():int:this (FullOpts)

Top method regressions (percentages):
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[double,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[double],System.Func`2[double,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[int,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[int],System.Func`2[int,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[long,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[long],System.Func`2[long,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[short,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[short],System.Func`2[short,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[System.Numerics.Vector`1[float],System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[System.Numerics.Vector`1[float]],System.Func`2[System.Numerics.Vector`1[float],System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)
          52 (39.10 % of base) : System.Data.Common.dasm - System.Data.EnumerableRowCollectionExtensions:Select[ubyte,System.Nullable`1[int]](System.Data.EnumerableRowCollection`1[ubyte],System.Func`2[ubyte,System.Nullable`1[int]]):System.Data.EnumerableRowCollection`1[System.Nullable`1[int]] (FullOpts)

Top method improvements (percentages):
        -116 (-32.77 % of base) : System.ComponentModel.Composition.dasm - System.ComponentModel.Composition.CompositionException+<>c__DisplayClass19_0:<CalculatePaths>b__0(System.Collections.Generic.Stack`1[System.ComponentModel.Composition.CompositionError]):this (FullOpts)
          -6 (-19.35 % of base) : System.Reflection.MetadataLoadContext.dasm - System.Reflection.TypeLoading.RoConstructedGenericType:GetTypeCodeImpl():int:this (FullOpts)
         -43 (-13.48 % of base) : System.Private.CoreLib.dasm - System.Reflection.RuntimeCustomAttributeData:Init(System.Runtime.CompilerServices.TypeForwardedToAttribute):this (FullOpts)
         -39 (-11.68 % of base) : System.ComponentModel.Composition.dasm - System.ComponentModel.Composition.Hosting.CatalogExportProvider+<>c__DisplayClass43_0:<UpdateRejections>b__0():this (FullOpts)
         -53 (-10.52 % of base) : System.Reflection.MetadataLoadContext.dasm - System.Reflection.TypeLoading.CustomAttributeHelpers:CloneForApiReturn(System.Reflection.CustomAttributeTypedArgument):System.Reflection.CustomAttributeTypedArgument (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[double]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[int]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[long]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[short]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Nullable`1[int]]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[System.Numerics.Vector`1[float]]:SetShouldSerialize(System.Delegate):this (FullOpts)
         -33 (-9.09 % of base) : System.Text.Json.dasm - System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1[ubyte]:SetShouldSerialize(System.Delegate):this (FullOpts)

18 total methods with Code Size differences (12 improved, 6 regressed), 236913 unchanged.

--------------------------------------------------------------------------------

Artifacts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions