Skip to content

JIT: arm64 redundant move peephole must check instruction format#57016

Merged
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:FixArm64MovePeephole
Aug 8, 2021
Merged

JIT: arm64 redundant move peephole must check instruction format#57016
AndyAyersMS merged 1 commit intodotnet:mainfrom
AndyAyersMS:FixArm64MovePeephole

Conversation

@AndyAyersMS
Copy link
Member

Otherwise we may mistake an immediate for a register and do an incorrect
optimization.

Fixes #56689.

Otherwise we may mistake an immediate for a register and do an incorrect
optimization.

Fixes dotnet#56689.
@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Aug 7, 2021
@AndyAyersMS
Copy link
Member Author

AndyAyersMS commented Aug 7, 2021

@kunalspathak PTAL
cc @dotnet/jit-contrib

No windows arm64 diffs (per cross-spmi from windows x64). Checking unix diffs now no unix arm64 diffs (presumably if we could get an live SPMI collection of unix arm64 libs we'd see a diff).

No simple repro, unfortunately.

@AndyAyersMS
Copy link
Member Author

x86 libraries failure (unrelated).

Process terminated. Assertion failed.
   at System.Threading.RegisteredWaitHandle.RestartTimeout() in /_/src/libraries/System.Private.CoreLib/src/System/Threading/RegisteredWaitHandle.Portable.cs:line 66

osx innerloop failure

##[error]We stopped hearing from agent Azure Pipelines 54....

@AndyAyersMS
Copy link
Member Author

/azp run runtime-coreclr libraries-pgo

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AndyAyersMS
Copy link
Member Author

FWIW this is the first time the libraries PGO leg has ever been green.

Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

I can imagine the pain to get to the bottom of this! LGTM.

@AndyAyersMS AndyAyersMS merged commit 22ae541 into dotnet:main Aug 8, 2021
@AndyAyersMS AndyAyersMS deleted the FixArm64MovePeephole branch August 8, 2021 15:08
@ghost ghost locked as resolved and limited conversation to collaborators Sep 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR 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.

Test failure: FindServicePoint_ReturnedServicePointMatchesExpectedValues

2 participants