Skip to content

Commit

Permalink
Disable VN optimizations on arm64 because of the bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey committed Jul 29, 2021
1 parent 03cbaca commit bc184e9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1167,8 +1167,6 @@ static void TestConvertFromDoubleToU8()

static int Main(string[] args)
{
sbyte Zero = 0;
Debug.Assert(Zero.Equals(0));
TestConvertFromInt4();
TestConvertFromInt8();
TestConvertFromFloat();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@
<DebugType>None</DebugType>
<Optimize>True</Optimize>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetArchitecture)' == 'arm64'">
<!-- https://github.com/dotnet/runtime/issues/56522 -->
<CLRTestBatchPreCommands><![CDATA[
$(CLRTestBatchPreCommands)
set COMPlus_JitDoValueNumber=0
]]></CLRTestBatchPreCommands>
<BashCLRTestPreCommands><![CDATA[
$(BashCLRTestPreCommands)
export COMPlus_JitDoValueNumber=0
]]></BashCLRTestPreCommands>
</PropertyGroup>
<ItemGroup>
<Compile Include="$(MSBuildProjectName).cs" />
</ItemGroup>
Expand Down

0 comments on commit bc184e9

Please sign in to comment.