Skip to content

Disable asm checking for JITMinOpts - #76345

Closed
BruceForstall wants to merge 1 commit into
dotnet:mainfrom
BruceForstall:DisableDisasmTestsForMinOpts
Closed

Disable asm checking for JITMinOpts#76345
BruceForstall wants to merge 1 commit into
dotnet:mainfrom
BruceForstall:DisableDisasmTestsForMinOpts

Conversation

@BruceForstall

Copy link
Copy Markdown
Contributor

Fixes#76344

Extension of #76276

@ghostghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Sep 29, 2022
@ghost

Copy link
Copy Markdown

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Issue Details

Fixes #76344

Extension of #76276

Author:BruceForstall
Assignees:-
Labels:

area-CodeGen-coreclr

Milestone:-

@BruceForstall

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-coreclr jitstress

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

TIHan
TIHan previously approved these changes Sep 29, 2022

@TIHanTIHan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @BruceForstall for this. I remember seeing this same check from "JitOptimizationSensitive". However, some of the FileCheck (csproj) tests themselves forcefully set TieredCompilation=0 and JitMinOpts=0 - which means FileCheck won't run as you are checking for a zero-length JitMinOpts env var. See:

https://github.com/dotnet/runtime/blob/main/src/tests/JIT/Regression/JitBlue/Runtime_33972/Runtime_33972.csproj#L12
https://github.com/dotnet/runtime/blob/main/src/tests/JIT/Regression/JitBlue/Runtime_34937/Runtime_34937.csproj#L12

@TIHan

Copy link
Copy Markdown
Contributor

Isn't this already fixed by #76276 ? The link to the issue you mentioned is against a commit from yesterday, I just merged #76276 today - we had problems with Linux/Mac specifically not including precommands that would force set JitMinOpts to be zero.

@TIHan
TIHan dismissed their stale reviewSeptember 29, 2022 04:52

may already be fixed

@BruceForstall

Copy link
Copy Markdown
ContributorAuthor

Isn't this already fixed by #76276 ? The link to the issue you mentioned is against a commit from yesterday, I just merged #76276 today - we had problems with Linux/Mac specifically not including precommands that would force set JitMinOpts to be zero.

It appears to be, since the overnight jitstress job didn't have these failures:

https://dev.azure.com/dnceng-public/public/_build/results?buildId=34429&view=ms.vss-test-web.build-test-results-tab

However, doesn't that just assume that any FileCheck test is required to force TieredCompilation=0 / JITMinOpts=0 and have the block:

<CLRTestBatchPreCommands><![CDATA[
$(CLRTestBatchPreCommands)
set COMPlus_TieredCompilation=0
set COMPlus_JITMinOpts=0
]]></CLRTestBatchPreCommands>
<BashCLRTestPreCommands><![CDATA[
$(BashCLRTestPreCommands)
export COMPlus_TieredCompilation=0
export COMPlus_JITMinOpts=0
]]></BashCLRTestPreCommands>
?

Shouldn't we allow the test to run in any configuration, but only disable the FileCheck part of the testing in non-default conditions, like TieredCompilation != 0, or JITMinOpts != 0?

@BruceForstall
BruceForstall deleted the DisableDisasmTestsForMinOpts branch September 29, 2022 13:50
@ghostghost locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Runtime_34937 and Runtime_33972 JITMinOpts test failures

2 participants

@BruceForstall@TIHan