1. 29 8月, 2022 3 次提交
    • J
      JIT: Clone all local addresses when importing `dup` (#72714) · 8c4e6e2a
      Jakob Botsch Nielsen 提交于
      Roslyn emits `dup` for the field address when compound assignment
      operators are used on struct fields. We would previously spill this
      address leading us to mark such structs as address exposed and disabling
      promotion.
      
      Also allow removing unnecessary casts in cases like
      ```
      ASG
        LCL_FLD ubyte V00
        CAST int <- ubyte <- int
          ...
      ```
      
      we only allowed this cast removal for LCL_VAR and IND before, which led
      to unnecessary new casts in some cases with this change.
      8c4e6e2a
    • J
      Fix signature for 64-bit delegate profiling helper (#74500) · f21cf529
      Jakob Botsch Nielsen 提交于
      * Fix signature for 64-bit delegate profiling helper
      
      I missed updating the signature of the 64-bit variant here when the
      vtable and delegate profiling helpers were originally split up.
      
      Fix #74295
      
      * JIT: Randomly collect 64-bit counts
      
      Add some testing.
      
      * Disable collecting 64 bit counters on 32-bit
      
      This needs some work so disable it for now.
      f21cf529
    • J
      Use System.Numerics.IEqualityOperators.op_Equality in SpanHelper.T.cs where possible. (#74567) · edb7d7e3
      Johan Lorensson 提交于
      * Use System.Numerics.IEqualityOperators.op_Equality in SpanHelper.T.cs.
      
      Workaround crash hit by https://github.com/dotnet/runtime/issues/74179
      making sure we avoid hitting codepath emitting this null pointer checks.
      The full fix includes codegen fixes as well, but will be performed
      in separate PR. There are still locations in SpanHelper.T.cs that uses
      Equal virtual call on value types that could be managed pointers to
      value types, but that code has remained the same for the last
      4 years to 15 months and have not hit this issue in the past.
      
      * Re-enable globalization tests disabled in #74433.
      edb7d7e3
  2. 28 8月, 2022 3 次提交
  3. 27 8月, 2022 19 次提交
  4. 26 8月, 2022 15 次提交