Fix for pMustExpand early fail.
authorKyungwoo Lee <kyulee@microsoft.com>
Tue, 23 Feb 2016 16:34:59 +0000 (08:34 -0800)
committerKyungwoo Lee <kyulee@microsoft.com>
Tue, 23 Feb 2016 20:54:33 +0000 (12:54 -0800)
commit650a53b9d0778525cfec881e6ea88d58e15451cd
tree9337bab8a23245def7298230b38cb72777606c10
parent50d84032861511d703125d80b9b4a6da11c2650a
Fix for pMustExpand early fail.

When EE tells Jit to enforce intrinsic expansion, we also checked whether
the intrinsic will be turned into a user call by IsIntrinsicImplementedByUserCall.
In fact, this API is primarily for math intrinsic and thus somewhat ambiguous since
even for any arbitrary non-math intrinsic ID, it returns true.
There are some side-effects, so I didn't refactor this API in this change.
Instead, the fix for pMustExpand is to check whether gtFlags has GTF_CALL.
src/.nuget/Microsoft.DotNet.RyuJit.nuspec
src/.nuget/runtime.json
src/.nuget/toolchain.osx.10.10-x64.Microsoft.DotNet.RyuJit.nuspec
src/.nuget/toolchain.ubuntu.14.04-x64.Microsoft.DotNet.RyuJit.nuspec
src/.nuget/toolchain.win7-x64.Microsoft.DotNet.RyuJit.nuspec
src/jit/importer.cpp