summaryrefslogtreecommitdiff
path: root/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01
diff options
context:
space:
mode:
authorPat Gavlin <pagavlin@microsoft.com>2015-06-10 13:11:59 -0700
committerPat Gavlin <pagavlin@microsoft.com>2015-06-10 21:31:41 -0700
commit937180e726dd08c84852a835bd711157769aed2b (patch)
tree8b9c350368cb9f2c57c2fea77d4cc90b51a80dd2 /tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01
parentc65178cbb205f8573c84791a31836fb3a7dd237e (diff)
downloadcoreclr-937180e726dd08c84852a835bd711157769aed2b.tar.gz
coreclr-937180e726dd08c84852a835bd711157769aed2b.tar.bz2
coreclr-937180e726dd08c84852a835bd711157769aed2b.zip
Import the first batch of IL tests.
This set of tests is comprised of IL tests that: - only reference APIs in .Net Core's System.Runtime, System.Runtime.Extensions, and System.Threading contracts - compile to a single executable, - and expect no command line arguments at runtime.
Diffstat (limited to 'tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01')
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.il126
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.il105
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il150
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.il736
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.il78
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.il29
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.il76
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.il39
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.il46
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/arrayDim.il42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/b15617.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/packages.config6
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/app.config27
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/b18049.ilproj19
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/il_template.proj42
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/loop2.il39
-rw-r--r--tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/packages.config6
55 files changed, 2500 insertions, 0 deletions
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.il
new file mode 100644
index 0000000000..0c17c88cda
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.il
@@ -0,0 +1,126 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly ILGEN_0x195e59cd {}
+.class ILGEN_0x195e59cd {
+.field static int16[] field_0x0
+.field static int64 field_0x1
+.method static int32 Method_0x24dd30a(float64 Arg_0x0, native int Arg_0x1, int64 Arg_0x2, native int Arg_0x3, native int Arg_0x4, int8 Arg_0x5, unsigned int32 Arg_0x6, int32 Arg_0x7, unsigned int16 Arg_0x8, unsigned int8 Arg_0x9, int8 Arg_0xa, unsigned int64 Arg_0xb, unsigned int32 Arg_0xc, float64 Arg_0xd, native int Arg_0xe) {
+.maxstack 13
+
+ .locals (float64[] local_0x0)
+
+ldc.i4 255
+ newarr [mscorlib]System.Double
+ stloc local_0x0
+
+ldc.i4 255
+ newarr [mscorlib]System.Int16
+ stsfld int16[] ILGEN_0x195e59cd::field_0x0
+ldc.i8 0xc0ee4094a223efb7
+stsfld int64 ILGEN_0x195e59cd::field_0x1
+
+ ldarg Arg_0x6
+Start_Orphan_d:
+ ldc.r8 float64(0x453953d3b5ea8b6c)
+ ldarg Arg_0xd
+ clt.un
+ starg Arg_0x5
+End_Orphan_d:
+ ldarg Arg_0xb
+ ldc.i8 0xe463b184d90b4bfa
+ ldsfld int64 ILGEN_0x195e59cd::field_0x1
+ ldsfld int64 ILGEN_0x195e59cd::field_0x1
+ sub.ovf.un
+ mul.ovf
+ mul.ovf
+ ldarg Arg_0x4
+ conv.ovf.i4.un
+ ldsfld int64 ILGEN_0x195e59cd::field_0x1
+ conv.ovf.i.un
+ ceq
+ conv.u8
+ rem
+ conv.i1
+ bne.un Branch_0x0
+
+Start_Orphan_14:
+Start_Orphan_15:
+ ldarga Arg_0x2
+ pop
+End_Orphan_15:
+ ldc.r4 float32(0xd9eb0335)
+ conv.u1
+ newarr [mscorlib]System.Int16
+ pop
+End_Orphan_14:
+Start_Orphan_1c:
+ ldarg Arg_0x5
+ conv.ovf.u4
+ starg Arg_0x8
+End_Orphan_1c:
+ ldarg Arg_0x2
+ ldsfld int64 ILGEN_0x195e59cd::field_0x1
+ ldsfld int64 ILGEN_0x195e59cd::field_0x1
+ div.un
+ or
+ ldsflda int64 ILGEN_0x195e59cd::field_0x1
+ ldind.i8
+ add.ovf.un
+Start_Orphan_20:
+ ldsfld int16[] ILGEN_0x195e59cd::field_0x0
+ ldc.i4.s 7
+ ldelema [mscorlib]System.Int16
+ ldarg Arg_0x5
+ stind.i2
+End_Orphan_20:
+ ldc.i8 0xe6775763f78491ca
+ ldarg Arg_0xb
+ clt.un
+ conv.ovf.u4.un
+ shr.un
+ conv.ovf.u4
+ br Branch_0x1
+
+ Branch_0x0:
+ ldarg Arg_0x2
+ conv.i2
+ Branch_0x1:
+
+EOM: ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 20
+.try
+{
+ldc.r8 float64(0x5aaf746fddeba341)
+ldc.i4 0x890ae118 conv.i
+ldc.i8 0x76c5bfda8a5b109b
+ldc.i4 0xdb6f6d75 conv.i
+ldc.i4 0x7af1af08 conv.i
+ldc.i4 0x9397f207
+ldc.i4 0x9dfbb109
+ldc.i4 0x5269672b
+ldc.i4 0xa4656c69
+ldc.i4 0x264e96af
+ldc.i4 0xc1a345dd
+ldc.i8 0xf37752b0db5a4580
+ldc.i4 0x7f6c3de7
+ldc.r8 float64(0xa3ab419cc1b4d054)
+ldc.i4 0x3daddb16 conv.i
+
+call int32 ILGEN_0x195e59cd::Method_0x24dd30a(float64 Arg_0x0, native int Arg_0x1, int64 Arg_0x2, native int Arg_0x3, native int Arg_0x4, int8 Arg_0x5, unsigned int32 Arg_0x6, int32 Arg_0x7, unsigned int16 Arg_0x8, unsigned int8 Arg_0x9, int8 Arg_0xa, unsigned int64 Arg_0xb, unsigned int32 Arg_0xc, float64 Arg_0xd, native int Arg_0xe)
+leave EXIT
+}
+catch [mscorlib]System.OverflowException
+{
+leave EXIT
+}
+EXIT:
+ldc.i4 100
+ret
+}
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/b00722.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b00722/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.il
new file mode 100644
index 0000000000..cb6a06b0d2
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.il
@@ -0,0 +1,105 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly ILGEN_0x2d277f5e{}
+.class ILGEN_0x2d277f5e {
+.field static unsigned int32[] field_0x0
+.field static unsigned int8 field_0x5
+.field static native int field_0x9
+.method static int32 Method_0x70755e5e(unsigned int16 Arg_0x1, int64 Arg_0x5, native int Arg_0x9) {
+.maxstack 17
+
+ldc.i4 255
+newarr [mscorlib]System.UInt32
+stsfld unsigned int32[] ILGEN_0x2d277f5e::field_0x0
+ldc.i4 0xd60572d5
+stsfld unsigned int8 ILGEN_0x2d277f5e::field_0x5
+ldc.i4 0x33a52774
+stsfld native int ILGEN_0x2d277f5e::field_0x9
+ ldc.i4.m1
+ conv.u8
+ ldc.i8 55
+ ldarg Arg_0x5
+ sub.ovf.un
+ div
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ conv.ovf.i8.un
+ sub
+ conv.u2
+Start_Orphan_4d:
+ldc.i8 55
+ conv.i1
+ ldarg Arg_0x9
+ conv.ovf.i4.un
+ ceq
+ starg Arg_0x1
+End_Orphan_4d:
+ ldc.i8 55
+ conv.i
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ conv.ovf.i1
+ ldarg Arg_0x9
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ mul
+ conv.u
+ div.un
+ sub
+ ldsfld unsigned int32[] ILGEN_0x2d277f5e::field_0x0
+Start_Orphan_65:
+ ldsfld unsigned int8 ILGEN_0x2d277f5e::field_0x5
+ ldarg Arg_0x1
+ shr
+ starg Arg_0x1
+End_Orphan_65:
+ ldc.i4 44
+ newarr [mscorlib]System.SByte
+ ldarg Arg_0x5
+ conv.ovf.i2
+ ldelem.i1
+ ldelem.u4
+ sub
+ ldc.i4 55
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ rem
+ ldarg Arg_0x1
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ cgt
+ rem
+ div
+ pop
+ pop
+ ldc.i8 55
+ conv.i4
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ ldsfld native int ILGEN_0x2d277f5e::field_0x9
+ add
+ conv.i4
+ cgt
+ ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 20
+.try
+{
+ldc.i4 0xd5e40332
+ldc.i8 0x9134640919a41d36
+ldc.i4 0x960c233 conv.i
+call int32 ILGEN_0x2d277f5e::Method_0x70755e5e(unsigned int16 Arg_0x1, int64 Arg_0x5, native int Arg_0x9)
+leave FAIL
+}
+catch [mscorlib]System.OverflowException
+{
+leave PASS
+}
+PASS:
+ ldc.i4 100
+ ret
+
+FAIL:
+ ldc.i4 1
+ ret
+}
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/b04319.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b04319/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il
new file mode 100644
index 0000000000..a48fde2114
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.il
@@ -0,0 +1,150 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern mscorlib {}
+.assembly extern Microsoft.VisualC
+{
+ .publickeytoken = (B0 3F 5F 7F 11 D5 0A 3A ) // .?_....:
+ .hash = (EC 47 1C 7B E2 10 BB EE 15 E2 3B 4E FB 55 44 9D // .G.{......;N.UD.
+ E2 D0 4D B7 ) // ..M.
+ .ver 7:0:3300:0
+}
+.assembly t
+{
+
+ // --- The following custom attribute is added automatically, do not uncomment -------
+ // .custom instance void [mscorlib]System.Diagnostics.DebuggableAttribute::.ctor(bool,
+ // bool) = ( 01 00 00 01 00 00 )
+
+ .hash algorithm 0x00008004
+ .ver 0:0:0:0
+}
+.module t.exe
+// MVID: {B0E04E8C-E35E-406B-87D5-0DB207C0D0AC}
+.imagebase 0x00400000
+.subsystem 0x00000003
+.file alignment 512
+.corflags 0x00000001
+// Image base: 0x02fe0000
+
+// =============== CLASS MEMBERS DECLARATION ===================
+
+.method public static char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl)
+ PtrToStringChars(string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier) s) cil managed
+{
+ .vtentry 3 : 1
+ // Code size 24 (0x18)
+ .maxstack 2
+ .locals (unsigned int8 modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_0,
+ unsigned int32 V_1,
+ string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier) pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_2)
+ IL_0000: ldnull
+ IL_0001: stloc.2
+ IL_0002: ldarg.0
+ IL_0003: stloc.2
+ IL_0004: ldarg.0
+ IL_0005: conv.i4
+ IL_0006: stloc.0
+ IL_0007: ldloc.0
+ IL_0008: brfalse.s IL_0014
+
+ IL_000a: call int32 [mscorlib]System.Runtime.CompilerServices.RuntimeHelpers::get_OffsetToStringData()
+ IL_000f: stloc.1
+ IL_0010: ldloc.0
+ IL_0011: ldloc.1
+ IL_0012: add
+ IL_0013: stloc.0
+ IL_0014: ldloc.0
+ IL_0015: br.s IL_0017
+
+ IL_0017: ret
+} // end of global method PtrToStringChars
+
+
+.class private auto ansi beforefieldinit T
+ extends [mscorlib]System.Object
+{
+ .method public hidebysig static int32 Main(string[] args) cil managed
+ {
+ .entrypoint
+ // Code size 9 (0x9)
+ .maxstack 1
+ ldc.i4 100
+ IL_0008: ret
+ } // end of method T::Main
+
+
+ .method family static void StringToPtrFast(string pstrSrc,
+ int32 offset,
+ char* pwchDest,
+ int32 modopt([Microsoft.VisualC]Microsoft.VisualC.IsLongModifier) cwchSize) cil managed
+ {
+ // Code size 64 (0x40)
+ .maxstack 3
+ .locals (char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& pinned modreq([mscorlib]System.Runtime.CompilerServices.IsVolatile) V_0,
+ int32 V_1)
+ IL_0000: ldc.i4.0
+ IL_0001: ldarg.3
+ IL_0002: bge.s IL_003f
+
+ IL_0004: ldarg.0
+ IL_0005: call instance int32 [mscorlib]System.String::get_Length()
+ IL_000a: ldarg.1
+ IL_000b: ldarg.3
+ IL_000c: add
+ IL_000d: blt.s IL_0039
+
+ IL_000f: ldarg.0
+ IL_0010: call char modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier)& modopt([mscorlib]System.Runtime.CompilerServices.CallConvCdecl) PtrToStringChars(string modopt([Microsoft.VisualC]Microsoft.VisualC.IsConstModifier))
+ IL_0015: stloc.0
+ IL_0016: ldloc.0
+ IL_0017: ldarg.1
+ IL_0018: ldc.i4.2
+ IL_0019: mul
+ IL_001a: add
+ IL_001b: stloc.0
+ IL_001c: ldc.i4.0
+ IL_001d: stloc.1
+ IL_001e: ldloc.1
+ IL_001f: ldarg.3
+ IL_0020: bge.s IL_0035
+
+ IL_0022: ldarg.2
+ IL_0023: ldloc.0
+ IL_0024: ldind.u2
+ IL_0025: stind.i2
+ IL_0026: ldarg.2
+ IL_0027: ldc.i4.2
+ IL_0028: add
+ IL_0029: starg.s pwchDest
+ IL_002b: ldloc.0
+ IL_002c: ldc.i4.2
+ IL_002d: add
+ IL_002e: stloc.0
+ IL_002f: ldloc.1
+ IL_0030: ldc.i4.1
+ IL_0031: add
+ IL_0032: stloc.1
+ IL_0033: br.s IL_001e
+
+ IL_0035: ldc.i4.0
+ IL_0036: stloc.0
+ IL_0037: br.s IL_003f
+
+ IL_0039: newobj instance void [mscorlib]System.IndexOutOfRangeException::.ctor()
+ IL_003e: throw
+
+ IL_003f: ret
+ } // end of method CXVariantBase::StringToPtrFast
+
+
+
+} // end of class T
+
+
+
+// =============================================================
+
+
+//*********** DISASSEMBLY COMPLETE ***********************
+// WARNING: Created Win32 resource file repro.res
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/b05623.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b05623/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.il
new file mode 100644
index 0000000000..69cdd4f028
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.il
@@ -0,0 +1,736 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern mscorlib {}
+.assembly b06020 {}
+.class public auto ansi sealed jb
+ extends [mscorlib]System.Object
+{
+ .field privatescope int32 a$PST04000001
+ .field privatescope int32 b$PST04000002
+ .field privatescope class jb c$PST04000003
+ .field privatescope class jb d$PST04000004
+ .method public specialname rtspecialname
+ instance void .ctor(int32 A_0,
+ int32 A_1,
+ class jb A_2,
+ class jb A_3) cil managed
+ {
+ // Code size 36 (0x24)
+ .maxstack 5
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ldarg.0
+ IL_0007: ldarg.1
+ IL_0008: stfld int32 jb::a$PST04000001
+ IL_000d: ldarg.0
+ IL_000e: ldarg.2
+ IL_000f: stfld int32 jb::b$PST04000002
+ IL_0014: ldarg.0
+ IL_0015: ldarg.3
+ IL_0016: stfld class jb jb::c$PST04000003
+ IL_001b: ldarg.0
+ IL_001c: ldarg.s A_3
+ IL_001e: stfld class jb jb::d$PST04000004
+ IL_0023: ret
+ } // end of method jb::.ctor
+
+} // end of class jb
+
+.class public auto ansi sealed ks
+ extends [mscorlib]System.Object
+{
+ .field privatescope int32 a$PST04000005
+ .field privatescope class jb b$PST04000006
+ .field privatescope class jb c$PST04000007
+ .method public specialname rtspecialname
+ instance void .ctor(int32 A_0,
+ class jb A_1,
+ class jb A_2) cil managed
+ {
+ // Code size 28 (0x1c)
+ .maxstack 4
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ldarg.0
+ IL_0007: ldarg.1
+ IL_0008: stfld int32 ks::a$PST04000005
+ IL_000d: ldarg.0
+ IL_000e: ldarg.2
+ IL_000f: stfld class jb ks::b$PST04000006
+ IL_0014: ldarg.0
+ IL_0015: ldarg.3
+ IL_0016: stfld class jb ks::c$PST04000007
+ IL_001b: ret
+ } // end of method ks::.ctor
+
+} // end of class ks
+
+.class public auto ansi x
+ extends [mscorlib]System.Object
+{
+ .method public specialname rtspecialname
+ instance void .ctor() cil managed
+ {
+ // Code size 7 (0x7)
+ .maxstack 2
+ IL_0000: ldarg.0
+ IL_0001: call instance void [mscorlib]System.Object::.ctor()
+ IL_0006: ret
+ } // end of method x::.ctor
+
+ .method public virtual instance class jb
+ aN(class ks A_0) cil managed
+ {
+ // Code size 2 (0x2)
+ .maxstack 1
+ IL_0000: ldnull
+ IL_0001: throw
+ } // end of method x::aN
+
+ .method public virtual instance class jb
+ aO(class ks A_0) cil managed
+ {
+ // Code size 2 (0x2)
+ .maxstack 1
+ IL_0000: ldnull
+ IL_0001: throw
+ } // end of method x::aO
+
+ .method public virtual instance class jb
+ aP(class ks A_0) cil managed
+ {
+ // Code size 2 (0x2)
+ .maxstack 1
+ IL_0000: ldnull
+ IL_0001: throw
+ } // end of method x::aP
+
+ .method public virtual instance class jb
+ aQ(class ks A_0) cil managed
+ {
+ // Code size 2 (0x2)
+ .maxstack 1
+ IL_0000: ldnull
+ IL_0001: throw
+ } // end of method x::aQ
+
+} // end of class x
+
+.class public auto ansi $
+ extends [mscorlib]System.Object
+{
+ .field static privatescope class x aL$PST04000008
+ .field static privatescope class x aM$PST04000009
+ .field static privatescope class x aN$PST0400000A
+ .field static privatescope class x aO$PST0400000B
+ .method public static int32 Main() cil managed
+ {
+ .entrypoint
+ // Code size 14 (0xe)
+ .maxstack 4
+ IL_0000: ldc.i4 0x7b
+ IL_0005: ldnull
+ IL_0006: ldnull
+ IL_0007: call class jb $::gg(int32,
+ class jb,
+ class jb)
+ IL_000c: pop
+ ldc.i4 100
+ IL_000d: ret
+ } // end of method $::Main
+
+ .method public static bool F(int32 A_0,
+ int32 A_1) cil managed
+ {
+ // Code size 16 (0x10)
+ .maxstack 2
+ IL_0000: ldarg.0
+ IL_0001: ldarg.1
+ IL_0002: blt IL_000c
+
+ IL_0007: br IL_000e
+
+ IL_000c: ldc.i4.0
+ IL_000d: ret
+
+ IL_000e: ldc.i4.1
+ IL_000f: ret
+ } // end of method $::F
+
+ .method public static class jb gg(int32 A_0,
+ class jb A_1,
+ class jb A_2) cil managed
+ {
+ // Code size 1152 (0x480)
+ .maxstack 12
+ .locals init (class ks V_0,
+ int32 V_1,
+ int32 V_2,
+ class jb V_3,
+ class jb V_4,
+ int32 V_5,
+ class jb V_6,
+ class jb V_7,
+ int32 V_8,
+ int32 V_9,
+ class jb V_10,
+ class jb V_11,
+ class ks V_12,
+ int32 V_13,
+ int32 V_14,
+ bool V_15,
+ class jb V_16,
+ class jb V_17,
+ class jb V_18,
+ class jb V_19,
+ int32 V_20,
+ int32 V_21,
+ bool V_22,
+ class jb V_23,
+ class jb V_24,
+ class jb V_25,
+ class jb V_26,
+ class jb V_27,
+ class jb V_28,
+ class jb V_29,
+ class jb V_30,
+ class jb V_31,
+ bool V_32,
+ class jb V_33,
+ class jb V_34,
+ class jb V_35,
+ class jb V_36,
+ class jb V_37,
+ class jb V_38,
+ class jb V_39,
+ class jb V_40,
+ class jb V_41,
+ class jb V_42,
+ class jb V_43,
+ class jb V_44,
+ class jb V_45,
+ class jb V_46,
+ bool V_47,
+ class jb V_48,
+ class jb V_49,
+ class jb V_50,
+ class jb V_51,
+ class jb V_52)
+ IL_0000: ldarg.0
+ IL_0001: ldarg.1
+ IL_0002: ldarg.2
+ IL_0003: newobj instance void ks::.ctor(int32,
+ class jb,
+ class jb)
+ IL_0008: stloc.0
+ IL_0009: ldarg.1
+ IL_000a: brtrue IL_0014
+
+ IL_000f: br IL_025e
+
+ IL_0014: ldarg.1
+ IL_0015: stloc.s V_52
+ IL_0017: ldloc.s V_52
+ IL_0019: stloc.s V_36
+ IL_001b: ldloc.s V_36
+ IL_001d: ldfld class jb jb::c$PST04000003
+ IL_0022: brtrue IL_002c
+
+ IL_0027: br IL_016a
+
+ IL_002c: ldloc.s V_36
+ IL_002e: ldfld class jb jb::c$PST04000003
+ IL_0033: stloc.s V_51
+ IL_0035: ldloc.s V_51
+ IL_0037: stloc.s V_43
+ IL_0039: ldloc.s V_36
+ IL_003b: ldfld class jb jb::d$PST04000004
+ IL_0040: brtrue IL_004a
+
+ IL_0045: br IL_00fd
+
+ IL_004a: ldloc.s V_36
+ IL_004c: ldfld class jb jb::d$PST04000004
+ IL_0051: stloc.s V_50
+ IL_0053: ldloc.s V_50
+ IL_0055: stloc.s V_46
+ IL_0057: ldarg.2
+ IL_0058: brtrue IL_0062
+
+ IL_005d: br IL_00b7
+
+ IL_0062: ldarg.2
+ IL_0063: stloc.s V_49
+ IL_0065: ldloc.s V_49
+ IL_0067: stloc.s V_48
+ IL_0069: ldloc.0
+ IL_006a: ldloc.s V_36
+ IL_006c: ldloc.s V_48
+ IL_006e: ldloc.s V_36
+ IL_0070: ldfld int32 jb::b$PST04000002
+ IL_0075: ldarg.0
+ IL_0076: ldloc.s V_46
+ IL_0078: ldloc.s V_48
+ IL_007a: ldfld class jb jb::c$PST04000003
+ IL_007f: ldloc.s V_48
+ IL_0081: ldfld int32 jb::b$PST04000002
+ IL_0086: ldloc.s V_43
+ IL_0088: ldloc.s V_48
+ IL_008a: ldfld class jb jb::d$PST04000004
+ IL_008f: ldloc.s V_36
+ IL_0091: ldfld int32 jb::a$PST04000001
+ IL_0096: ldloc.s V_48
+ IL_0098: ldfld int32 jb::a$PST04000001
+ IL_009d: stloc.1
+ IL_009e: stloc.2
+ IL_009f: stloc.3
+ IL_00a0: stloc.s V_4
+ IL_00a2: stloc.s V_5
+ IL_00a4: stloc.s V_6
+ IL_00a6: stloc.s V_7
+ IL_00a8: stloc.s V_8
+ IL_00aa: stloc.s V_9
+ IL_00ac: stloc.s V_10
+ IL_00ae: stloc.s V_11
+ IL_00b0: stloc.s V_12
+ IL_00b2: br IL_0341
+
+ IL_00b7: ldloc.s V_43
+ IL_00b9: ldfld int32 jb::b$PST04000002
+ IL_00be: ldloc.s V_46
+ IL_00c0: ldfld int32 jb::b$PST04000002
+ IL_00c5: bgt IL_00d2
+
+ IL_00ca: ldc.i4.0
+ IL_00cb: stloc.s V_47
+ IL_00cd: br IL_00d5
+
+ IL_00d2: ldc.i4.1
+ IL_00d3: stloc.s V_47
+ IL_00d5: ldloc.s V_47
+ IL_00d7: brtrue IL_00e1
+
+ IL_00dc: br IL_00ef
+
+ IL_00e1: ldsfld class x $::aM$PST04000009
+ IL_00e6: ldloc.0
+ IL_00e7: tail.
+ IL_00e9: callvirt instance class jb x::aO(class ks)
+ IL_00ee: ret
+
+ IL_00ef: ldsfld class x $::aO$PST0400000B
+ IL_00f4: ldloc.0
+ IL_00f5: tail.
+ IL_00f7: callvirt instance class jb x::aQ(class ks)
+ IL_00fc: ret
+
+ IL_00fd: ldarg.2
+ IL_00fe: brtrue IL_0108
+
+ IL_0103: br IL_015c
+
+ IL_0108: ldarg.2
+ IL_0109: stloc.s V_45
+ IL_010b: ldloc.s V_45
+ IL_010d: stloc.s V_44
+ IL_010f: ldloc.0
+ IL_0110: ldloc.s V_36
+ IL_0112: ldloc.s V_44
+ IL_0114: ldloc.s V_36
+ IL_0116: ldfld int32 jb::b$PST04000002
+ IL_011b: ldarg.0
+ IL_011c: ldnull
+ IL_011d: ldloc.s V_44
+ IL_011f: ldfld class jb jb::c$PST04000003
+ IL_0124: ldloc.s V_44
+ IL_0126: ldfld int32 jb::b$PST04000002
+ IL_012b: ldloc.s V_43
+ IL_012d: ldloc.s V_44
+ IL_012f: ldfld class jb jb::d$PST04000004
+ IL_0134: ldloc.s V_36
+ IL_0136: ldfld int32 jb::a$PST04000001
+ IL_013b: ldloc.s V_44
+ IL_013d: ldfld int32 jb::a$PST04000001
+ IL_0142: stloc.1
+ IL_0143: stloc.2
+ IL_0144: stloc.3
+ IL_0145: stloc.s V_4
+ IL_0147: stloc.s V_5
+ IL_0149: stloc.s V_6
+ IL_014b: stloc.s V_7
+ IL_014d: stloc.s V_8
+ IL_014f: stloc.s V_9
+ IL_0151: stloc.s V_10
+ IL_0153: stloc.s V_11
+ IL_0155: stloc.s V_12
+ IL_0157: br IL_0341
+
+ IL_015c: ldsfld class x $::aM$PST04000009
+ IL_0161: ldloc.0
+ IL_0162: tail.
+ IL_0164: callvirt instance class jb x::aO(class ks)
+ IL_0169: ret
+
+ IL_016a: ldloc.s V_36
+ IL_016c: ldfld class jb jb::d$PST04000004
+ IL_0171: brtrue IL_017b
+
+ IL_0176: br IL_01f5
+
+ IL_017b: ldloc.s V_36
+ IL_017d: ldfld class jb jb::d$PST04000004
+ IL_0182: stloc.s V_42
+ IL_0184: ldloc.s V_42
+ IL_0186: stloc.s V_39
+ IL_0188: ldarg.2
+ IL_0189: brtrue IL_0193
+
+ IL_018e: br IL_01e7
+
+ IL_0193: ldarg.2
+ IL_0194: stloc.s V_41
+ IL_0196: ldloc.s V_41
+ IL_0198: stloc.s V_40
+ IL_019a: ldloc.0
+ IL_019b: ldloc.s V_36
+ IL_019d: ldloc.s V_40
+ IL_019f: ldloc.s V_36
+ IL_01a1: ldfld int32 jb::b$PST04000002
+ IL_01a6: ldarg.0
+ IL_01a7: ldloc.s V_39
+ IL_01a9: ldloc.s V_40
+ IL_01ab: ldfld class jb jb::c$PST04000003
+ IL_01b0: ldloc.s V_40
+ IL_01b2: ldfld int32 jb::b$PST04000002
+ IL_01b7: ldnull
+ IL_01b8: ldloc.s V_40
+ IL_01ba: ldfld class jb jb::d$PST04000004
+ IL_01bf: ldloc.s V_36
+ IL_01c1: ldfld int32 jb::a$PST04000001
+ IL_01c6: ldloc.s V_40
+ IL_01c8: ldfld int32 jb::a$PST04000001
+ IL_01cd: stloc.1
+ IL_01ce: stloc.2
+ IL_01cf: stloc.3
+ IL_01d0: stloc.s V_4
+ IL_01d2: stloc.s V_5
+ IL_01d4: stloc.s V_6
+ IL_01d6: stloc.s V_7
+ IL_01d8: stloc.s V_8
+ IL_01da: stloc.s V_9
+ IL_01dc: stloc.s V_10
+ IL_01de: stloc.s V_11
+ IL_01e0: stloc.s V_12
+ IL_01e2: br IL_0341
+
+ IL_01e7: ldsfld class x $::aO$PST0400000B
+ IL_01ec: ldloc.0
+ IL_01ed: tail.
+ IL_01ef: callvirt instance class jb x::aQ(class ks)
+ IL_01f4: ret
+
+ IL_01f5: ldarg.2
+ IL_01f6: brtrue IL_0200
+
+ IL_01fb: br IL_0253
+
+ IL_0200: ldarg.2
+ IL_0201: stloc.s V_38
+ IL_0203: ldloc.s V_38
+ IL_0205: stloc.s V_37
+ IL_0207: ldloc.0
+ IL_0208: ldloc.s V_36
+ IL_020a: ldloc.s V_37
+ IL_020c: ldloc.s V_36
+ IL_020e: ldfld int32 jb::b$PST04000002
+ IL_0213: ldarg.0
+ IL_0214: ldnull
+ IL_0215: ldloc.s V_37
+ IL_0217: ldfld class jb jb::c$PST04000003
+ IL_021c: ldloc.s V_37
+ IL_021e: ldfld int32 jb::b$PST04000002
+ IL_0223: ldnull
+ IL_0224: ldloc.s V_37
+ IL_0226: ldfld class jb jb::d$PST04000004
+ IL_022b: ldloc.s V_36
+ IL_022d: ldfld int32 jb::a$PST04000001
+ IL_0232: ldloc.s V_37
+ IL_0234: ldfld int32 jb::a$PST04000001
+ IL_0239: stloc.1
+ IL_023a: stloc.2
+ IL_023b: stloc.3
+ IL_023c: stloc.s V_4
+ IL_023e: stloc.s V_5
+ IL_0240: stloc.s V_6
+ IL_0242: stloc.s V_7
+ IL_0244: stloc.s V_8
+ IL_0246: stloc.s V_9
+ IL_0248: stloc.s V_10
+ IL_024a: stloc.s V_11
+ IL_024c: stloc.s V_12
+ IL_024e: br IL_0341
+
+ IL_0253: ldarg.0
+ IL_0254: ldc.i4.2
+ IL_0255: ldloc.s V_36
+ IL_0257: ldnull
+ IL_0258: newobj instance void jb::.ctor(int32,
+ int32,
+ class jb,
+ class jb)
+ IL_025d: ret
+
+ IL_025e: ldarg.2
+ IL_025f: brtrue IL_0269
+
+ IL_0264: br IL_0337
+
+ IL_0269: ldarg.2
+ IL_026a: stloc.s V_35
+ IL_026c: ldloc.s V_35
+ IL_026e: stloc.s V_27
+ IL_0270: ldloc.s V_27
+ IL_0272: ldfld class jb jb::c$PST04000003
+ IL_0277: brtrue IL_0281
+
+ IL_027c: br IL_0300
+
+ IL_0281: ldloc.s V_27
+ IL_0283: ldfld class jb jb::c$PST04000003
+ IL_0288: stloc.s V_34
+ IL_028a: ldloc.s V_34
+ IL_028c: stloc.s V_30
+ IL_028e: ldloc.s V_27
+ IL_0290: ldfld class jb jb::d$PST04000004
+ IL_0295: brtrue IL_029f
+
+ IL_029a: br IL_02f2
+
+ IL_029f: ldloc.s V_27
+ IL_02a1: ldfld class jb jb::d$PST04000004
+ IL_02a6: stloc.s V_33
+ IL_02a8: ldloc.s V_33
+ IL_02aa: stloc.s V_31
+ IL_02ac: ldloc.s V_30
+ IL_02ae: ldfld int32 jb::b$PST04000002
+ IL_02b3: ldloc.s V_31
+ IL_02b5: ldfld int32 jb::b$PST04000002
+ IL_02ba: blt IL_02c7
+
+ IL_02bf: ldc.i4.0
+ IL_02c0: stloc.s V_32
+ IL_02c2: br IL_02ca
+
+ IL_02c7: ldc.i4.1
+ IL_02c8: stloc.s V_32
+ IL_02ca: ldloc.s V_32
+ IL_02cc: brtrue IL_02d6
+
+ IL_02d1: br IL_02e4
+
+ IL_02d6: ldsfld class x $::aL$PST04000008
+ IL_02db: ldloc.0
+ IL_02dc: tail.
+ IL_02de: callvirt instance class jb x::aN(class ks)
+ IL_02e3: ret
+
+ IL_02e4: ldsfld class x $::aN$PST0400000A
+ IL_02e9: ldloc.0
+ IL_02ea: tail.
+ IL_02ec: callvirt instance class jb x::aP(class ks)
+ IL_02f1: ret
+
+ IL_02f2: ldsfld class x $::aN$PST0400000A
+ IL_02f7: ldloc.0
+ IL_02f8: tail.
+ IL_02fa: callvirt instance class jb x::aP(class ks)
+ IL_02ff: ret
+
+ IL_0300: ldloc.s V_27
+ IL_0302: ldfld class jb jb::d$PST04000004
+ IL_0307: brtrue IL_0311
+
+ IL_030c: br IL_032c
+
+ IL_0311: ldloc.s V_27
+ IL_0313: ldfld class jb jb::d$PST04000004
+ IL_0318: stloc.s V_29
+ IL_031a: ldloc.s V_29
+ IL_031c: stloc.s V_28
+ IL_031e: ldsfld class x $::aL$PST04000008
+ IL_0323: ldloc.0
+ IL_0324: tail.
+ IL_0326: callvirt instance class jb x::aN(class ks)
+ IL_032b: ret
+
+ IL_032c: ldarg.0
+ IL_032d: ldc.i4.2
+ IL_032e: ldnull
+ IL_032f: ldloc.s V_27
+ IL_0331: newobj instance void jb::.ctor(int32,
+ int32,
+ class jb,
+ class jb)
+ IL_0336: ret
+
+ IL_0337: ldarg.0
+ IL_0338: ldc.i4.1
+ IL_0339: ldnull
+ IL_033a: ldnull
+ IL_033b: newobj instance void jb::.ctor(int32,
+ int32,
+ class jb,
+ class jb)
+ IL_0340: ret
+
+ IL_0341: ldloc.s V_5
+ IL_0343: ldloc.s V_9
+ IL_0345: ldloc.s V_9
+ IL_0347: add
+ IL_0348: ldloc.s V_9
+ IL_034a: add
+ IL_034b: call bool $::F(int32,
+ int32)
+ IL_0350: brtrue IL_035a
+
+ IL_0355: br IL_03d6
+
+ IL_035a: ldloc.s V_6
+ IL_035c: brtrue IL_0369
+
+ IL_0361: ldc.i4.0
+ IL_0362: stloc.s V_20
+ IL_0364: br IL_037a
+
+ IL_0369: ldloc.s V_6
+ IL_036b: stloc.s V_26
+ IL_036d: ldloc.s V_26
+ IL_036f: stloc.s V_25
+ IL_0371: ldloc.s V_25
+ IL_0373: ldfld int32 jb::b$PST04000002
+ IL_0378: stloc.s V_20
+ IL_037a: ldloc.3
+ IL_037b: brtrue IL_0388
+
+ IL_0380: ldc.i4.0
+ IL_0381: stloc.s V_21
+ IL_0383: br IL_0398
+
+ IL_0388: ldloc.3
+ IL_0389: stloc.s V_24
+ IL_038b: ldloc.s V_24
+ IL_038d: stloc.s V_23
+ IL_038f: ldloc.s V_23
+ IL_0391: ldfld int32 jb::b$PST04000002
+ IL_0396: stloc.s V_21
+ IL_0398: ldloc.s V_20
+ IL_039a: ldloc.s V_21
+ IL_039c: blt IL_03a9
+
+ IL_03a1: ldc.i4.0
+ IL_03a2: stloc.s V_22
+ IL_03a4: br IL_03ac
+
+ IL_03a9: ldc.i4.1
+ IL_03aa: stloc.s V_22
+ IL_03ac: ldloc.s V_22
+ IL_03ae: brtrue IL_03b8
+
+ IL_03b3: br IL_03c7
+
+ IL_03b8: ldsfld class x $::aL$PST04000008
+ IL_03bd: ldloc.s V_12
+ IL_03bf: tail.
+ IL_03c1: callvirt instance class jb x::aN(class ks)
+ IL_03c6: ret
+
+ IL_03c7: ldsfld class x $::aN$PST0400000A
+ IL_03cc: ldloc.s V_12
+ IL_03ce: tail.
+ IL_03d0: callvirt instance class jb x::aP(class ks)
+ IL_03d5: ret
+
+ IL_03d6: ldloc.s V_9
+ IL_03d8: ldloc.s V_5
+ IL_03da: ldloc.s V_5
+ IL_03dc: add
+ IL_03dd: ldloc.s V_5
+ IL_03df: add
+ IL_03e0: call bool $::F(int32,
+ int32)
+ IL_03e5: brtrue IL_03ef
+
+ IL_03ea: br IL_046d
+
+ IL_03ef: ldloc.s V_4
+ IL_03f1: brtrue IL_03fe
+
+ IL_03f6: ldc.i4.0
+ IL_03f7: stloc.s V_13
+ IL_03f9: br IL_040f
+
+ IL_03fe: ldloc.s V_4
+ IL_0400: stloc.s V_19
+ IL_0402: ldloc.s V_19
+ IL_0404: stloc.s V_18
+ IL_0406: ldloc.s V_18
+ IL_0408: ldfld int32 jb::b$PST04000002
+ IL_040d: stloc.s V_13
+ IL_040f: ldloc.s V_7
+ IL_0411: brtrue IL_041e
+
+ IL_0416: ldc.i4.0
+ IL_0417: stloc.s V_14
+ IL_0419: br IL_042f
+
+ IL_041e: ldloc.s V_7
+ IL_0420: stloc.s V_17
+ IL_0422: ldloc.s V_17
+ IL_0424: stloc.s V_16
+ IL_0426: ldloc.s V_16
+ IL_0428: ldfld int32 jb::b$PST04000002
+ IL_042d: stloc.s V_14
+ IL_042f: ldloc.s V_14
+ IL_0431: ldloc.s V_13
+ IL_0433: blt IL_0440
+
+ IL_0438: ldc.i4.0
+ IL_0439: stloc.s V_15
+ IL_043b: br IL_0443
+
+ IL_0440: ldc.i4.1
+ IL_0441: stloc.s V_15
+ IL_0443: ldloc.s V_15
+ IL_0445: brtrue IL_044f
+
+ IL_044a: br IL_045e
+
+ IL_044f: ldsfld class x $::aM$PST04000009
+ IL_0454: ldloc.s V_12
+ IL_0456: tail.
+ IL_0458: callvirt instance class jb x::aO(class ks)
+ IL_045d: ret
+
+ IL_045e: ldsfld class x $::aO$PST0400000B
+ IL_0463: ldloc.s V_12
+ IL_0465: tail.
+ IL_0467: callvirt instance class jb x::aQ(class ks)
+ IL_046c: ret
+
+ IL_046d: ldloc.s V_8
+ IL_046f: ldloc.s V_9
+ IL_0471: ldloc.s V_5
+ IL_0473: add
+ IL_0474: ldc.i4.1
+ IL_0475: add
+ IL_0476: ldloc.s V_11
+ IL_0478: ldloc.s V_10
+ IL_047a: newobj instance void jb::.ctor(int32,
+ int32,
+ class jb,
+ class jb)
+ IL_047f: ret
+ } // end of method $::gg
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/b06020.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b06020/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.il
new file mode 100644
index 0000000000..0b5ae7edf0
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.il
@@ -0,0 +1,78 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly b07369 {}
+.class ILGEN_0x1c9344b9 {
+.field static int16[] field_0x0
+.method static int32 Method_0xcf54fbcb() {
+.maxstack 13
+.locals (int8 local_0x3,unsigned int8[] local_0x4,native int local_0x8)
+ ldc.i4 0xad970933
+ stloc local_0x3
+ ldc.i4 255
+ newarr [mscorlib]System.Byte
+ stloc local_0x4
+ ldc.i4 0x3bed5030
+ stloc local_0x8
+
+ldc.i4 255
+ newarr [mscorlib]System.Int16
+ stsfld int16[] ILGEN_0x1c9344b9::field_0x0
+
+Start_Orphan_0:
+ ldsfld int16[] ILGEN_0x1c9344b9::field_0x0
+ ldloc local_0x3
+ ldloc local_0x8
+ blt.un Branch_0x2
+ ldloc local_0x4
+ ldlen
+ br Branch_0x3
+ Branch_0x2:
+ ldsfld int16[] ILGEN_0x1c9344b9::field_0x0
+ ldlen
+ Branch_0x3:
+ ldelema [mscorlib]System.Int16
+
+Start_Orphan_3:
+ ldsfld int16[] ILGEN_0x1c9344b9::field_0x0
+ ldc.i4 55
+ ldc.i4 0x6cedf978
+ stelem.i2
+ Branch_0x5:
+End_Orphan_3:
+
+ ldloc local_0x8
+
+Start_Orphan_6:
+ ldloca local_0x8
+ pop
+End_Orphan_6:
+
+ stind.i2
+End_Orphan_0:
+
+ldc.i4 55
+EOM: ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 20
+.try
+{
+call int32 ILGEN_0x1c9344b9::Method_0xcf54fbcb()
+leave FAIL
+}
+catch [mscorlib]System.IndexOutOfRangeException
+{
+leave PASS
+}
+PASS:
+ldc.i4 100
+ ret
+FAIL:
+ldc.i4 1
+ret
+}
+
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/b07369.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07369/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.il
new file mode 100644
index 0000000000..c0985720e9
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.il
@@ -0,0 +1,29 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly ILGEN_0xfe8f9a4a {}
+.class ILGEN_0xfe8f9a4a {
+.field static unsigned int8 field_0x8
+.method static int8 Method_0xe6c0a898() {
+.maxstack 19
+.locals (float32[] LOCAL_0x0)
+ ldc.i4 255
+ newarr [mscorlib]System.Single
+ stloc LOCAL_0x0
+ ldloc LOCAL_0x0
+ ldsfld unsigned int8 ILGEN_0xfe8f9a4a::field_0x8
+ ldelema [mscorlib]System.Single
+ ldind.r4
+ conv.i1
+ ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 1
+ call int8 ILGEN_0xfe8f9a4a::Method_0xe6c0a898()
+pop
+ldc.i4 100
+ ret
+}
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/b07383.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07383/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.il
new file mode 100644
index 0000000000..8860d739c4
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.il
@@ -0,0 +1,76 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly b07947 {}
+.class public repro
+{
+
+ .field int32 m_i
+
+ .field static int32 s_Zero
+ .field static int32[] s_Arr
+ .field static int32 global1
+
+ .method public static rtspecialname specialname void .cctor()
+ {
+ ldc.i4 10
+ newarr int32
+ stsfld int32[] repro::s_Arr
+
+ ret
+ }
+
+ .method public rtspecialname specialname instance void .ctor()
+ {
+ ldarg 0
+ call instance void object::.ctor()
+
+ ret
+ }
+
+ .method privatescope instance void foo2() synchronized
+ {
+ .locals init (int32)
+
+ LOOP:
+ ldstr "."
+ call void [mscorlib]System.Console::Write(string)
+
+ ldsfld int32 repro::s_Zero
+ brtrue IMPOSS
+ ldnull
+ ldc.i4 0
+ stfld int32 repro::m_i
+ IMPOSS:
+ br LOOP
+ }
+
+ .method static int32 Main(class System.String[])
+ {
+ .entrypoint
+ .maxstack 5
+ .locals init (unsigned int16 i)
+
+
+ .try
+ {
+ newobj instance void repro::.ctor()
+ call instance void repro::foo2()
+ leave FAIL
+ }
+ catch [mscorlib]System.NullReferenceException
+ {
+ leave PASS
+ }
+
+PASS:
+ ldc.i4 100
+ ret
+FAIL:
+ ldc.i4 1
+ ret
+ }
+
+
+} \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/b07947.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b07947/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.il
new file mode 100644
index 0000000000..cc1d9cf380
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.il
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern mscorlib{}
+.assembly b13452{}
+.module b13452.exe
+
+.class public auto ansi beforefieldinit test extends [mscorlib]System.Object
+{
+ .method public static void f() cil managed
+ {
+ ldsfld float64 [mscorlib]System.Math::E
+ pop
+ ret
+ }
+ .method public static int32 Main()
+ {
+ .entrypoint
+ .try
+ {
+ call void test::f()
+ leave FAIL
+ }
+ catch [mscorlib]System.MissingFieldException
+ {
+ pop
+ leave PASS
+ }
+
+ FAIL:
+ ldc.i4.1
+ ret
+
+ PASS:
+ ldc.i4 100
+ ret
+ }
+
+} \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/b13452.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b13452/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.il
new file mode 100644
index 0000000000..826ab41ea3
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.il
@@ -0,0 +1,46 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern legacy library mscorlib {}
+.assembly ILGEN_0x1b57e965 {}
+.class ILGEN_0x1b57e965 {
+.field static int8[] field_0x0
+.method static float64 Method_0xe5b0e4a3(float64 Arg_0x0) {
+.maxstack 15
+.locals (int8[] LOCAL_0x0,object LOCAL_0x1,float32 LOCAL_0x2,unsigned int16 LOCAL_0x3,unsigned int32 LOCAL_0x4)
+ldc.i4 255
+ newarr [mscorlib]System.SByte
+ stloc LOCAL_0x0
+ldc.r4 float32(0x8359185)
+stloc LOCAL_0x2
+ldc.i4 255
+ newarr [mscorlib]System.SByte
+ stsfld int8[] ILGEN_0x1b57e965::field_0x0
+ ldloca LOCAL_0x2
+ ldind.r4
+Start_Orphan_a:
+ ldsfld int8[] ILGEN_0x1b57e965::field_0x0
+ stloc LOCAL_0x0
+End_Orphan_a:
+ ldarg Arg_0x0
+ ldc.i8 0x7f33c94c4c6cd0eb
+ conv.r4
+ ldc.i8 0xd5224d5a3637c47c
+ conv.r8
+ rem
+ mul
+ ceq
+ conv.r8
+ ret
+}
+.method static int32 Main() {
+.entrypoint
+.maxstack 3
+ldc.r8 float64(0xb4e4b4787f7ef458)
+ call float64 ILGEN_0x1b57e965::Method_0xe5b0e4a3(float64 Arg_0x0)
+conv.i4
+pop
+ldc.i4 100
+ ret
+}
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/b14617.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b14617/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/arrayDim.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/arrayDim.il
new file mode 100644
index 0000000000..1354901ccc
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/arrayDim.il
@@ -0,0 +1,42 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly extern mscorlib {}
+.assembly EHTest {}
+.class public EHTest
+{
+ .field private static int64 fld1
+ .field private static int32 fld2
+
+ .method public static int32 f1() cil managed
+ {
+ .entrypoint
+ .maxstack 50
+
+ start_try:
+ leave OUT
+ end_try: //
+
+ start_catch:
+ ldc.i4 19
+ ldc.i4 14
+ shr
+ neg
+ ldc.i4 22
+ shl
+ not
+ newarr [mscorlib]System.Int64
+ ldc.i4 93
+ stsfld int32 EHTest::fld2
+ ldc.i4 53
+ ldelem.i8
+ stsfld int64 EHTest::fld1
+ leave OUT
+ end_catch: //
+
+ OUT:
+ ldc.i4 100
+ ret
+ .try start_try to end_try catch [mscorlib]System.Exception handler start_catch to end_catch
+ }
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/b15617.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/b15617.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/b15617.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b15617/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/app.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/app.config
new file mode 100644
index 0000000000..8077c95440
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/app.config
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <runtime>
+ <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
+ <dependentAssembly>
+ <assemblyIdentity name="System.Runtime" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.20.0" newVersion="4.0.20.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Text.Encoding" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Threading.Tasks" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.IO" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ <dependentAssembly>
+ <assemblyIdentity name="System.Reflection" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
+ <bindingRedirect oldVersion="0.0.0.0-4.0.10.0" newVersion="4.0.10.0" />
+ </dependentAssembly>
+ </assemblyBinding>
+ </runtime>
+</configuration> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/b18049.ilproj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/b18049.ilproj
new file mode 100644
index 0000000000..c641f8da8a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/b18049.ilproj
@@ -0,0 +1,19 @@
+<?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" />
+ <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), dir.targets))\dir.targets" />
+ <!-- Default configurations to help VS understand the configurations -->
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
+ </PropertyGroup>
+ <Target Name="Build">
+ <ItemGroup>
+ <AllSourceFiles Include="$(MSBuildProjectDirectory)\*.il" />
+ </ItemGroup>
+ <PropertyGroup>
+ <GenerateRunScript>false</GenerateRunScript>
+ </PropertyGroup>
+ <MSBuild Projects="il_template.proj" Properties="AssemblyName1=%(AllSourceFiles.FileName);AllowUnsafeBlocks=True;IntermediateOutputPath=$(IntermediateOutputPath)\%(AllSourceFiles.FileName)\" />
+ </Target>
+</Project> \ No newline at end of file
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/il_template.proj b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/il_template.proj
new file mode 100644
index 0000000000..cd6913e79e
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/il_template.proj
@@ -0,0 +1,42 @@
+<?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>$(AssemblyName1)</AssemblyName>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{95DFC527-4DC1-495E-97D7-E94EE1F7140D}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <FileAlignment>512</FileAlignment>
+ <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\11.0\UITestExtensionPackages</ReferencePath>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
+ <NuGetPackageImportStamp>7a9bfb7d</NuGetPackageImportStamp>
+ <ProjectLanguage>IL</ProjectLanguage>
+ </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>
+ <ItemGroup>
+ <Compile Include="$(AssemblyName1).il" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ <None Include="app.config" />
+ </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
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/loop2.il b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/loop2.il
new file mode 100644
index 0000000000..410f728bf9
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/loop2.il
@@ -0,0 +1,39 @@
+// Copyright (c) Microsoft. All rights reserved.
+// Licensed under the MIT license. See LICENSE file in the project root for full license information.
+
+.assembly loop {}
+.assembly extern mscorlib {}
+
+.data D_a = bytearray (30 31 32 33)
+.data D_b = bytearray (30 31 32 33)
+
+.field public static int32 a at D_a
+.field public static int32 b at D_b
+
+.method static public int32 main() cil managed
+{ .entrypoint
+ .maxstack 3
+ .locals (int32* V_0)
+
+
+ ldsflda int32 a
+ stloc.0
+ ldloc.0
+ ldsflda int32 b
+ bge.un.s Label_Exit
+
+Label_Loop:
+ ldloc.0
+ ldc.i4.4
+ add
+ stloc.0
+ ldloc.0
+ ldsflda int32 b
+ blt.un.s Label_Loop
+
+Label_Exit:
+ ldstr "PASS"
+ call void [mscorlib]System.Console::WriteLine(class System.String)
+ ldc.i4 100
+ ret
+}
diff --git a/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/packages.config b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/packages.config
new file mode 100644
index 0000000000..37e10b961a
--- /dev/null
+++ b/tests/src/JIT/Regression/CLR-x86-JIT/V1.2-M01/b18049/packages.config
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="System.Console" version="4.0.0-beta-22405" />
+ <package id="System.Runtime" version="4.0.20-beta-22405" />
+ <package id="System.Runtime.Extensions" version="4.0.10-beta-22412" />
+</packages> \ No newline at end of file