Handle contained nodes earlier in buildRefPositionsForNode.
authorPat Gavlin <pagavlin@microsoft.com>
Wed, 15 Feb 2017 01:08:44 +0000 (17:08 -0800)
committerPat Gavlin <pagavlin@microsoft.com>
Tue, 28 Feb 2017 23:18:08 +0000 (15:18 -0800)
commit41cde53c9db047012083c90c17734bddc8fec203
tree72102ca90e47052e1e261406a64070ec253d1d67
parent76c91c4d3ea452e8870996291f7118ac5fd9029a
Handle contained nodes earlier in buildRefPositionsForNode.

These nodes never produce ref positions. Handling them earlier in this function
avoids a rather large amount of unnecessary work (e.g. this decreases overall
compile time by about 0.5% for `crossgen System.Private.CoreLib`).

Commit migrated from https://github.com/dotnet/coreclr/commit/aa910800a204edff57b51d1cb3e7960dd0f98656
src/coreclr/src/jit/lsra.cpp
src/coreclr/src/jit/lsra.h