JIT: arm64 redundant move peephole must check instruction format (#57016)
authorAndy Ayers <andya@microsoft.com>
Sun, 8 Aug 2021 15:08:25 +0000 (08:08 -0700)
committerGitHub <noreply@github.com>
Sun, 8 Aug 2021 15:08:25 +0000 (08:08 -0700)
commit22ae5419f81d39f04a6e7ad2b19e171950c99f0f
treefcc460da796eec2284d988f32193f61405da7e8c
parenta56b5d71cccc0212bc6fb6cfe3f98fa7e0b8a9b5
JIT: arm64 redundant move peephole must check instruction format (#57016)

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

Fixes #56689.
src/coreclr/jit/emitarm64.cpp