Fix contained LEA handling (#25135)
authorCarol Eidt <carol.eidt@microsoft.com>
Tue, 18 Jun 2019 20:12:31 +0000 (13:12 -0700)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2019 20:12:31 +0000 (13:12 -0700)
commit3091448eae1af315ad78d9fc18ad1ee077afc795
tree2700e8f29ee0eb092ce69991d9530bd9b4bdd055
parent0ad43be30fa7e611bef57c4b8e4fdd4a34bd65f4
Fix contained LEA handling (#25135)

* Fix contained LEA handling

This adds an LEA case to both `LinearScan::BuildOperandUses` and `CodeGen::genConsumeRegs`.

Fix #25039
src/jit/codegenlinear.cpp
src/jit/gentree.cpp
src/jit/lsrabuild.cpp
tests/src/JIT/Regression/JitBlue/GitHub_25039/GitHub_25039.cs [new file with mode: 0644]
tests/src/JIT/Regression/JitBlue/GitHub_25039/GitHub_25039.csproj [new file with mode: 0644]