Do not assume containment (#66385)
authorSingleAccretion <62474226+SingleAccretion@users.noreply.github.com>
Mon, 14 Mar 2022 10:40:48 +0000 (13:40 +0300)
committerGitHub <noreply@github.com>
Mon, 14 Mar 2022 10:40:48 +0000 (13:40 +0300)
commitc3cc9fd5d64df359c54b6d0518db75641e04bbc3
treede8db99dca2aa921b5dc451450d8812ee7568571
parent2f13361ba7d4cef84acae24751a3c367c1a6ab89
Do not assume containment (#66385)

Codegen was assuming lowering would always contain immediates
for RMW ops. It did not for some fuzzer-generated code.

Check for containment explicitly instead.
src/coreclr/jit/codegenxarch.cpp
src/tests/JIT/Regression/JitBlue/Runtime_66335/Runtime_66335.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_66335/Runtime_66335.csproj [new file with mode: 0644]