Optimize out gc polls in basic blocks with regular PInvokes (#41581)
authorJan Kotas <jkotas@microsoft.com>
Tue, 1 Sep 2020 01:18:23 +0000 (18:18 -0700)
committerGitHub <noreply@github.com>
Tue, 1 Sep 2020 01:18:23 +0000 (18:18 -0700)
commitdbb07f636f2b5ad2766bb174ace42aec220d705e
tree141fa2e74fdfe01533953a8d129ba435ea99fd3a
parent381c16487e87afbf929a7de60ea8006820ac32eb
Optimize out gc polls in basic blocks with regular PInvokes (#41581)

Regular PInvokes poll for GC. It means that the explicit gc polls can be skipped in basic blocks that contain regular PInvoke.
src/coreclr/src/jit/flowgraph.cpp