diff options
author | Michelle McDaniel <adiaaida@gmail.com> | 2017-02-02 13:59:10 -0800 |
---|---|---|
committer | Michelle McDaniel <adiaaida@gmail.com> | 2017-02-02 15:30:57 -0800 |
commit | 454c9d7a7f03625f2891d082f8770e7523ce78f8 (patch) | |
tree | 7c2d10bcd3c2fc346f69ef4bdd852d21ab917aad | |
parent | cfca38899b29d609266c108a69cc828a5791a300 (diff) | |
download | coreclr-454c9d7a7f03625f2891d082f8770e7523ce78f8.tar.gz coreclr-454c9d7a7f03625f2891d082f8770e7523ce78f8.tar.bz2 coreclr-454c9d7a7f03625f2891d082f8770e7523ce78f8.zip |
Add a test for #9282
-rw-r--r-- | tests/issues.targets | 3 | ||||
-rw-r--r-- | tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il | 75 | ||||
-rw-r--r-- | tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj | 51 | ||||
-rw-r--r-- | tests/testsFailingOutsideWindows.txt | 1 |
4 files changed, 130 insertions, 0 deletions
diff --git a/tests/issues.targets b/tests/issues.targets index f7da8f3b5c..211549d526 100644 --- a/tests/issues.targets +++ b/tests/issues.targets @@ -193,6 +193,9 @@ <ExcludeList Include="$(XunitTestBinBase)\JIT\opt\perf\doublealign\Locals\*"> <Issue>8418</Issue> </ExcludeList> + <ExcludeList Include="$(XunitTestBinBase)\JIT\Regression\JitBlue\DevDiv_377155\DevDiv_377155\*"> + <Issue>9282</Issue> + </ExcludeList> </ItemGroup> <!-- The following are x86 failures --> diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il new file mode 100644 index 0000000000..4c1ab4a125 --- /dev/null +++ b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.il @@ -0,0 +1,75 @@ +// ProcessName - 'ILGEN' +.assembly extern mscorlib{} +.assembly DevDiv_377155{} +.class C extends [mscorlib]System.Object +{ + .method static float32 M() cil managed noinlining + { + .maxstack 65535 + .locals init (float64, native unsigned int, native int, char, unsigned int64, bool) + + ldloc.s 0x04 + conv.ovf.u8.un + conv.ovf.u2.un + ldc.r8 float64(0x9eda41f595fa8ca8) + conv.r4 + conv.u8 + pop + ldc.i4 0x1de50978 + ldloc 0x0004 + ldloc.s 0x04 + or + ldc.i8 0x2d9c5178675b7af5 + ldloc 0x0004 + ldloc 0x0004 + mul + ldloc.s 0x04 + conv.ovf.u2.un + shr.un + not + not + or + cgt.un + ldc.i4 0xbdc937ef + ldloc.s 0x05 + add.ovf.un + clt.un + shl + not + neg + shr.un + conv.r4 + ckfinite + ldloc.s 0x00 + clt.un + nop + brtrue IL_0052 + nop +IL_0052: + ldloc 0x0000 + ret + } + + .method static int32 Main() cil managed + { + .entrypoint + + .try + { + call float32 C::M() + pop + leave.s done + } + catch [mscorlib]System.Exception + { + pop + leave.s done + } + + done: + ldc.i4 100 + ret + } + +} +// Dumped 1 diff --git a/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj new file mode 100644 index 0000000000..32d609496e --- /dev/null +++ b/tests/src/JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155.ilproj @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.props))\dir.props" /> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <AssemblyName>$(MSBuildProjectName)</AssemblyName> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid> + <OutputType>Exe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <FileAlignment>512</FileAlignment> + <ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> + <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath> + <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> + <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp> + </PropertyGroup> + <!-- Default configurations to help VS understand the configurations --> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + </PropertyGroup> + <ItemGroup> + <CodeAnalysisDependentAssemblyPaths Condition=" '$(VS100COMNTOOLS)' != '' " Include="$(VS100COMNTOOLS)..\IDE\PrivateAssemblies"> + <Visible>False</Visible> + </CodeAnalysisDependentAssemblyPaths> + </ItemGroup> + <PropertyGroup> + <DebugType>None</DebugType> + <Optimize>True</Optimize> + </PropertyGroup> + <ItemGroup> + <Compile Include="DevDiv_377155.il" /> + </ItemGroup> + <PropertyGroup> + <CLRTestBatchPreCommands><![CDATA[ +$(CLRTestBatchPreCommands) +set COMPlus_JitStressRegs=0x200 +]]></CLRTestBatchPreCommands> + <BashCLRTestPreCommands><![CDATA[ +$(BashCLRTestPreCommands) +export COMPlus_JitStressRegs=0x200 +]]></BashCLRTestPreCommands> + </PropertyGroup> + <ItemGroup> + <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> + </ItemGroup> + <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" /> + <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' "> + </PropertyGroup> +</Project> diff --git a/tests/testsFailingOutsideWindows.txt b/tests/testsFailingOutsideWindows.txt index de94b2802e..901172b394 100644 --- a/tests/testsFailingOutsideWindows.txt +++ b/tests/testsFailingOutsideWindows.txt @@ -79,3 +79,4 @@ Loader/classloader/TypeGeneratorTests/TypeGeneratorTest681/Generated681/Generate Loader/classloader/TypeGeneratorTests/TypeGeneratorTest682/Generated682/Generated682.sh Loader/classloader/TypeGeneratorTests/TypeGeneratorTest683/Generated683/Generated683.sh JIT/opt/perf/doublealign/Locals/Locals.sh +JIT/Regression/JitBlue/DevDiv_377155/DevDiv_377155/DevDiv_377155.sh |