Merge pull request dotnet/coreclr#9636 from sivarv/shouldPromote
authorSivarv <sivarv@microsoft.com>
Fri, 17 Feb 2017 22:21:33 +0000 (14:21 -0800)
committerGitHub <noreply@github.com>
Fri, 17 Feb 2017 22:21:33 +0000 (14:21 -0800)
commit86f9966ca331fe1a91f1d8de8ab209d4764bb583
tree18a3a67875730b7a103a37949e5de33e79fbf3a2
parent270e5b0b32c71d84b567bc97e3e12b8f2e446af6
parentecb0096bc252ebb6c4409f0bb018f81d6f40e2dc
Merge pull request dotnet/coreclr#9636 from sivarv/shouldPromote

Refactor some of fgPromoteStruct() checks into lvaCanPromoteStructVar() and lvaShouldPromoteStructVar()

Commit migrated from https://github.com/dotnet/coreclr/commit/380cda50c89fa4534b9b8f144d1ecec0bb5d584b
src/coreclr/src/jit/compiler.h