Turn on C# optimizations on two large tests
authorJan Kotas <jkotas@microsoft.com>
Thu, 20 Aug 2015 06:48:50 +0000 (23:48 -0700)
committerJan Kotas <jkotas@microsoft.com>
Fri, 21 Aug 2015 03:27:53 +0000 (20:27 -0700)
The debug IL generated by Roslyn is too complex and causes the test to fail with stack overflow.

Commit migrated from https://github.com/dotnet/coreclr/commit/06e030df6b1bd453447578ad5f9eb3619feb4e4c

src/coreclr/tests/src/JIT/jit64/opt/cse/hugeSimpleExpr1.csproj
src/coreclr/tests/src/JIT/jit64/opt/cse/hugeexpr1.csproj

index 6302d58..1639114 100644 (file)
@@ -28,7 +28,7 @@
   </ItemGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
-    <Optimize>False</Optimize>
+    <Optimize>True</Optimize>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="hugeSimpleExpr1.cs" />
index 71b2d29..fae3ea2 100644 (file)
@@ -28,7 +28,7 @@
   </ItemGroup>
   <PropertyGroup>
     <DebugType>Full</DebugType>
-    <Optimize>False</Optimize>
+    <Optimize>True</Optimize>
   </PropertyGroup>
   <ItemGroup>
     <Compile Include="hugeexpr1.cs" />