summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 19:09:09 +0900
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565')
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.il164
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.ilproj40
2 files changed, 204 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.il
new file mode 100644
index 0000000000..9fcc79a674
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.il
@@ -0,0 +1,164 @@
+// Licensed to the .NET Foundation under one or more agreements.
+// The .NET Foundation licenses this file to you under the MIT license.
+// See the LICENSE file in the project root for more information.
+
+.assembly extern legacy library mscorlib {}
+.assembly extern System.Console
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A )
+ .ver 4:0:0:0
+}
+.assembly ILGEN_0x127c25 {}
+.class ILGEN_0x127c25 {
+
+.field static int16 field_0x0
+.field static unsigned int8 field_0x1
+.field static unsigned int32 field_0x2
+.field static unsigned int8 field_0x3
+.field static native int[] field_0x4
+.field static unsigned int16[] field_0x5
+
+.method static int32 Method_0xc6986748() {
+.maxstack 13
+
+ .locals (float32 local_0x0,int16[] local_0x1)
+
+ldc.r4 float32(0x35f74880)
+stloc local_0x0
+ldc.i4 255
+ newarr [mscorlib]System.Int16
+ stloc local_0x1
+
+
+ldc.i4 0x32485934
+stsfld int16 ILGEN_0x127c25::field_0x0
+ldc.i4 0xe2384b0a
+stsfld unsigned int8 ILGEN_0x127c25::field_0x1
+ldc.i4 0x6ec69009
+stsfld unsigned int32 ILGEN_0x127c25::field_0x2
+ldc.i4 0x2505da94
+stsfld unsigned int8 ILGEN_0x127c25::field_0x3
+ldc.i4 255
+ newarr [mscorlib]System.IntPtr
+ stsfld native int[] ILGEN_0x127c25::field_0x4
+ldc.i4 255
+ newarr [mscorlib]System.UInt16
+ stsfld unsigned int16[] ILGEN_0x127c25::field_0x5
+
+
+Start_Orphan_0:
+Start_Orphan_1:
+Start_Orphan_2:
+ nop
+End_Orphan_2:
+ ldc.i4.8
+ ldsfld int16 ILGEN_0x127c25::field_0x0
+ clt
+ conv.u2
+Start_Orphan_3:
+ nop
+End_Orphan_3:
+ ldc.i4.1
+ brtrue Branch_0x6
+
+ ldc.i8 0xc3dd6af8b8fedfeb
+ br Branch_0x7
+
+ Branch_0x6:
+
+ ldc.i8 0xb167b47a1780742f
+ Branch_0x7:
+
+ brtrue Branch_0x4
+
+ ldc.i8 0xd691b08a499f0c44
+ ldc.i8 0x77b9e53a116dfd36
+ clt.un
+ br Branch_0x5
+
+ Branch_0x4:
+
+ ldloc local_0x0
+ ldloc local_0x0
+ beq Branch_0x8
+
+ ldc.i4.5
+ br Branch_0x9
+
+ Branch_0x8:
+
+ ldsfld unsigned int32 ILGEN_0x127c25::field_0x2
+ Branch_0x9:
+
+ Branch_0x5:
+
+ bgt.un Branch_0x2
+
+ nop
+ br Branch_0x3
+
+ Branch_0x2:
+
+ ldc.i4.0
+ conv.u1
+ newarr [mscorlib]System.IntPtr
+Start_Orphan_4:
+ nop
+End_Orphan_4:
+ ldc.i4 0xe4d33ebc
+Start_Orphan_5:
+ nop
+End_Orphan_5:
+ ldc.i8 0x1367aa69e4ba1066
+ conv.ovf.i2.un
+ stelem.i
+ Branch_0x3:
+
+End_Orphan_1:
+Start_Orphan_6:
+ ldsfld native int[] ILGEN_0x127c25::field_0x4
+Start_Orphan_7:
+ nop
+End_Orphan_7:
+ ldc.i4.7
+ ldc.i4.4
+ ldc.i4.5
+ add.ovf
+ stelem.i
+End_Orphan_6:
+ ldsfld unsigned int16[] ILGEN_0x127c25::field_0x5
+ ldc.i4.3
+Start_Orphan_8:
+ nop
+End_Orphan_8:
+ ldc.r4 float32(0x31639d35)
+ conv.ovf.i1
+ shl
+ ldelema [mscorlib]System.UInt16
+ ldind.u2
+ brtrue Branch_0x0
+
+ ldloca local_0x0
+ pop
+ br Branch_0x1
+
+ Branch_0x0:
+
+ nop
+ Branch_0x1:
+
+End_Orphan_0:
+ ldsfld unsigned int8 ILGEN_0x127c25::field_0x1
+EOM: ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 20
+
+call int32 ILGEN_0x127c25::Method_0xc6986748()
+pop
+ldc.i4 100
+ ret
+}
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.ilproj
new file mode 100644
index 0000000000..c576deef13
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1-M12-Beta2/b54565/b54565.ilproj
@@ -0,0 +1,40 @@
+<?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>
+
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="b54565.il" />
+ </ItemGroup>
+ <ItemGroup>
+ <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" />
+ </ItemGroup>
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <PropertyGroup Condition=" '$(MsBuildProjectDirOverride)' != '' ">
+ </PropertyGroup>
+</Project> \ No newline at end of file