Fix the condition to dump a basic block stats.
authorsivarv <sivarv@microsoft.com>
Mon, 24 Oct 2016 18:42:03 +0000 (11:42 -0700)
committersivarv <sivarv@microsoft.com>
Mon, 24 Oct 2016 18:42:03 +0000 (11:42 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/dadc45fdf8fe0a61b0f020046ebfa62485d960f2

src/coreclr/src/jit/lsra.cpp

index 9fdf9c5..d2fbd38 100644 (file)
@@ -9857,7 +9857,7 @@ void LinearScan::dumpLsraStats(FILE* file)
         unsigned resolutionMovCount = blockInfo[block->bbNum].resolutionMovCount;
         unsigned splitEdgeCount     = blockInfo[block->bbNum].splitEdgeCount;
 
-        if (spillCount != 0 || copyRegCount != 0 || resolutionMovCount != 0)
+        if (spillCount != 0 || copyRegCount != 0 || resolutionMovCount != 0 || splitEdgeCount != 0)
         {
             fprintf(file, "BB%02u [%8d]: ", block->bbNum, block->bbWeight);
             fprintf(file, "SpillCount = %d, ResolutionMovs = %d, SplitEdges = %d, CopyReg = %d\n", spillCount,