JIT: detect address of field as an invariant inlining arg (#845)
authorAndy Ayers <andya@microsoft.com>
Mon, 16 Dec 2019 20:03:15 +0000 (12:03 -0800)
committerGitHub <noreply@github.com>
Mon, 16 Dec 2019 20:03:15 +0000 (12:03 -0800)
commit3fb2aba3df7032c1267e95ca34a67d7852ed685f
tree7f4dcdeee55068a197f77029527fdeaa2a8059d1
parent4fa163852af62908948e8108a03f4044f96d2bc1
JIT: detect address of field as an invariant inlining arg (#845)

Update the check for arg invariance to include addresses of fields in local
structs. This allows the inliner to directly substitute more arguments into
the body of the inlinee.

Resolves dotnet/coreclr#27630.
src/coreclr/src/jit/importer.cpp