1. 27 9月, 2022 2 次提交
  2. 26 9月, 2022 11 次提交
  3. 25 9月, 2022 6 次提交
  4. 24 9月, 2022 19 次提交
    • J
      Fix native aot test failures (#76114) · e823a080
      Jan Kotas 提交于
      * Fix native aot test failures
      
      * Fix test failure on NativeAOT with non-English locale
      
      * Delete duplicate and dead files
      
      Fixes #75699
      Co-authored-by: NFilip Navara <filip.navara@gmail.com>
      e823a080
    • J
      SPMI: Add and utilize number of contexts with diffs (#76011) · 985eedd6
      Jakob Botsch Nielsen 提交于
      Previously, if there was any diff in a collection, that collection would
      be shown in all tables (i.e. Overall, FullOpts, MinOpts). The main
      reason was that we only had "has diffs" information on a per-collection
      basis, not for each of the categories. This changes SPMI to communicate
      back for each category how many contexts had diffs in them, and uses
      this to hide tables/rows without any diffs, and to show this information
      under details.
      985eedd6
    • V
      Add back missing conv opcodes when compiling via System.Linq.Expressions (#76024) · 05aa1fdf
      Vlad Brezae 提交于
      * Add new convert tests
      
      With expression funcs that return int32 instead of short/byte to prevent implicit conversions.
      
      * Add back missing conv opcodes when compiling via System.Linq.Expressions
      
      The conversion opcodes are still necessary when the sign of the value might change, in which case the conversion opcode will do a sign/zero extend to the full i32 storage used by the IL execution stack.
      
      For example, before this change, conversions from ushort to short were ignored. Consider expressions converting the value `ushort.MaxValue` to short (testcase ConvertUShortToShortTest). `ushort.MaxValue` will be pushed to execution stack as a i32 ldc of value 0xffff. The conv.i2 opcode would change the value on the stack to 0xffffffff so it shouldn't be omitted.
      05aa1fdf
    • T
      Fix impIntrinsic to not raise asserts for the AltJit scenario (#76048) · 901b0a1e
      Tanner Gooding 提交于
      * Fix impIntrinsic to not raise asserts for the AltJit scenario
      
      * Respond to PR feedback
      
      * Specially handle NI_Vector64/128/256_* intrinsics where not all overloads are valid
      
      * Change the AltJit intrinsic handling so we get no asserts
      
      * Apply suggestions from code review
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      
      * Apply suggestions from code review
      
      * Fixing a build error
      
      * Applying formatting patch
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      901b0a1e
    • T
      [wasm][debugger] Support create, debugging and running wasmbrowser template from VS (#75986) · 5ab83492
      Thays Grazia 提交于
      * Support create, debugging and running wasmbrowser template from VS
      
      * addings extra line in the end of the file
      
      * remove extra spaces
      
      * fix compilation error
      
      * adding extra line in the end of the file
      
      * Addressing @lewing comment.
      5ab83492
    • M
      [tests] Skip XslCompiledTransformApi tests on iOS, tvOS, and when testing native AOT (#75730) · 74c589f3
      Mitchell Hwang 提交于
      * Skip XslCompiledTransformApi tests on iOS, tvOS, and when testing native AOT
      
      * Condition each XslCompiledTransformApi test class on IsReflectionEmitSupported
      Co-authored-by: NJan Kotas <jkotas@microsoft.com>
      74c589f3
    • W
      [JIT] CodeGen verification testing (#75102) · 7681692b
      Will Smith 提交于
      * Add test
      
      * Add CHECKs
      
      * Build scripts and test settings
      
      * COMPlus -> DOTNET
      
      * Fix filenames
      
      * Missing >
      
      * Missing quotes
      
      * use %scriptPath%
      
      * Rework properties, start two examples
      
      * Arch demo
      
      * Cleanup
      
      * Remove tab
      
      * Easier environment variables.  Undo precommand changes.
      
      * undo blank line
      
      * clean CHECKs
      
      * Draft of bash
      
      * Bash, conditionals
      
      * More variables, start on run.cmd/sh/py
      
      * another output
      
      * Support in cmd/bash for RunningDisasmChecks
      
      * copy, factor, formatting
      
      * Initial work to include FileCheck. Added SuperFileCheck.
      
      * Able to build SuperFileCheck
      
      * Do not DisasmCheck TypeEquality_r for now. Update some FileChecks to follow SuperFileCheck rules.
      
      * Partially wiring up SuperFileCheck to tests
      
      * Piping list of method names from SuperFileCheck to JitDisasm
      
      * Handling bash a little bit
      
      * Moving SuperFileCheck to tests/Common
      
      * Few tweaks
      
      * Building SuperFileCheck as part of the test build
      
      * Tweaking a few things
      
      * Fixed a bug
      
      * Moving SuperFileCheck back to src\coreclr\tools. Removed checks from TypeEquality_r.
      
      * Restore original logic in Runtime_73681
      
      * Trying to add CI leg for disasmchecks
      
      * Use x64 package if x86 platform detected for JIT tools package
      
      * Remove innerloop for disasmchecks
      
      * Trying to fix build. Only run in Windows for now.
      
      * Update Runtime_73681.cs
      
      Trying to fail test
      
      * Trying to fix build
      
      * Update Runtime_73681.cs
      
      * Update Runtime_73681.cs
      
      * Fixing a few issues
      
      * Trying to run disasmchecks as part of CI
      
      * Trying to run disasmchecks
      
      * Trying to run disasmchecks
      
      * Trying to run disasmchecks
      
      * Revert a change
      
      * Trying to run disasmchecks
      
      * Trying to run disasmchecks
      
      * build SuperFileCheck on non-windows
      
      * few tweaks
      
      * Trying to fix CI
      
      * Including SuperFileCheck for tests
      
      * Cleanup
      
      * More cleanup
      
      * Cleanup
      
      * Changed SuperFileCheck to not publish everything. Changed SuperFileCheck's lookup for FileCheck.
      
      * Invoking SuperFileCheck using dotnet
      
      * Making the test pass
      
      * Only run disasm checks for coreclr and not mono
      
      * Using HasBatchDisasmCheck and HasBashDisasmCheck to determine to run the check
      
      * Enabling filecheck on linux and osx
      
      * Added more comments
      
      * Added ARM64 specific test. Do not run SuperFileCheck if no methods were found.
      
      * Added documentation. Changed disasm-output.
      
      * Minor doc tweak
      
      * Minor doc tweak
      
      * Minor doc tweak
      
      * Minor doc tweak
      
      * Minor doc tweak
      
      * Cleanup. Trying to fix linux
      
      * Fixing test
      
      * Add information on additional functionality
      
      * cleanup
      
      * Add FileCheck snippet
      
      * Undo environment variable changes
      
      * Feedback from Mark
      
      * Cleanup
      
      * Trying to fix linux test run
      
      * Trying to fix linux test run
      
      * A few missing changes from the original branch
      
      * Enable OSX for disasm checks
      
      * cleanup / comment
      
      * Force test failure
      
      * Update Runtime_73681.cs
      
      * Set env vars after errorlevel check
      
      * Reverting back on setting environment variables in test. Added new FileCheck test for mod optimization
      
      * Force a failure by changing the register
      
      * Ignore native binaries for superpmi collect
      
      * Update Runtime_34937.cs
      
      * Force the correct failure
      
      * Update Runtime_34937.cs
      
      * Update Runtime_34937.cs
      
      * Adding specific OS check prefixes. Changed dump-input context amount
      
      * Added getting fully qualified method names with wildcards for SuperFileCheck
      
      * More tests. Fixed a few issues with generics.
      
      * Disabling generic support
      
      * Error if it cannot find enclosing type declaration
      
      * Fixing build
      
      * Remove namespac
      
      * Bring generics back, but in a limited form
      Co-authored-by: NMark Plesko <markples@microsoft.com>
      7681692b
    • D
      [main] Update dependencies from dotnet/roslyn-analyzers dotnet/hotreload-utils (#75965) · 2f8c0ebd
      dotnet-maestro[bot] 提交于
      * Update dependencies from https://github.com/dotnet/hotreload-utils build 20220920.1
      
      Microsoft.DotNet.HotReload.Utils.Generator.BuildTool
       From Version 1.1.0-alpha.0.22469.1 -> To Version 1.1.0-alpha.0.22470.1
      
      * Update dependencies from https://github.com/dotnet/roslyn-analyzers build 20220921.2
      
      Microsoft.CodeAnalysis.NetAnalyzers
       From Version 7.0.0-preview1.22466.1 -> To Version 7.0.0-preview1.22471.2
      Co-authored-by: Ndotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
      2f8c0ebd
    • V
      [mono][interp] Remove random interp limit (#76092) · 239ff868
      Vlad Brezae 提交于
      Existing since its prototype
      239ff868
    • A
      CI: trigger library tests builds, when building runtime tests (#76057) · 8bf6a86f
      Ankit Jain 提交于
      * CI: trigger library tests builds, when building runtime tests
      
      .. as they depend on it.
      
      * Mono product build jobs only build the runtime, so don't trigger on library changes
      
      * CI: Exclude some eng/pipelines files from triggering pipelines
      
      ```yml
          # src/workloads is only used in runtime-official builds
          # where evaluate-paths is not used
          _always_exclude: [
              eng/pipelines/common/evaluate-default-paths.yml
              eng/pipelines/coreclr/*
              eng/pipelines/installer/*
              eng/pipelines/libraries/*
              eng/pipelines/mono/*
              eng/pipelines/runtime*
              src/workloads/*
          ]
      ```
      
      * wip
      
      * Revert "wip"
      
      This reverts commit 0b08b8d170fbd9168f9bff3470a54f6f40daa783.
      8bf6a86f
    • L
      [workloads] Work around main still targeting net7.0 (#76036) · e5197517
      Larry Ewing 提交于
      * Work around main still targeting net7.0
      e5197517
    • V
      b99853cd
    • A
      Adapt System.CommandLine (v2) in more places (#72082) · d0559e6e
      Adeel Mujahid 提交于
      * Switch ilc to use System.CommandLine
      
      * Switch cg2 to use System.CommandLine
      
      * Fix release build
      
      * Fix test build
      
      * ilc: --insructionset, crossgen2: --instruction-set 🥲
      
      * Fix a couple of defaults
      
      * Fix repro package arguments for cg2
      
      * ilc: rename --instructionset to --instruction-set
      
      * Remove 'Microsoft (R)' from tools' banner
      
      * Merge conflict typo fix
      
      * Add -v alias for version (to match old behavior)
      d0559e6e
    • S
      Do not maintain GTF_VAR_MULTIREG before lowering (#75449) · 0acd5088
      SingleAccretion 提交于
      There is no need for this.
      0acd5088
    • S
      Do not remove certain casts with contained operands (#74602) · 66295ddc
      SingleAccretion 提交于
      On ARM64, we turn the "EQ(CAST<byte>(x), 0)" into "TEST_EQ(x, 0xFF)",
      to avoid materializing the cast.
      
      However, this breaks recognition of the "cb[n]z" idiom. If "x" ends
      up in a register, that's ok - we're essentially exchanging relop for a
      cast. If, however, it was contained, it is better to leave it alone:
      
      ```
      -            ldr     w0, [fp,#0x18]
      -            tst     w0, #255
      -            bne     G_M25131_IG10
      -                                               ;; size=12 bbWeight=1    PerfScore 3.50
      +            ldrb    w0, [fp,#0x18]
      +            cbnz    w0, G_M25131_IG10
      +                                               ;; size=8 bbWeight=1    PerfScore 3.00
      ```
      66295ddc
    • J
      JIT: Use gtCloneExpr in fgMorphModToSubMulDiv for potentially complex trees (#76061) · 1a9f573d
      Jakob Botsch Nielsen 提交于
      We may get here for any invariant dividend/divisor but these can be
      'complex' address-of trees that gtClone does not handle.
      
      Fix #76051
      1a9f573d
    • S
      Disallow `ASG(..., IND<struct>)` before morph (#74715) · 4b11a2ec
      SingleAccretion 提交于
      * Delete IND<struct> handling from local morph
      
      * Fix raw handle intrinsics
      4b11a2ec
    • J
      JIT: Update gtHasLocalsWithAddrOp to use GenTreeVisitor (#75672) · ba0778a2
      Jakob Botsch Nielsen 提交于
      Also change it to check for any local, not just GT_LCL_VAR.
      ba0778a2
    • A
      JIT: properly update trees in optOptimizeBoolsGcStress (#75992) · 24a9b2f3
      Andy Ayers 提交于
      Under jit stress, `optOptimizeBoolsGcStress` will modify trees. Since this
      now happens in a phase that runs after `fgSetBlockOrder`, it must also
      rethread the trees.
      24a9b2f3
  5. 23 9月, 2022 2 次提交