1. 24 9月, 2022 13 次提交
    • 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
  2. 23 9月, 2022 14 次提交
  3. 22 9月, 2022 13 次提交