Fix the build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37537 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/IfConversion.cpp b/lib/CodeGen/IfConversion.cpp
index 4adf859..3969a52 100644
--- a/lib/CodeGen/IfConversion.cpp
+++ b/lib/CodeGen/IfConversion.cpp
@@ -218,7 +218,7 @@
}
case ICTriangle:
case ICTriangleFalse:
- case ICTriangleFRev:
+ case ICTriangleFRev: {
bool isFalse = BBI.Kind == ICTriangleFalse;
bool isFalseRev = BBI.Kind == ICTriangleFRev;
if (DisableTriangle && !isFalse && !isFalseRev) break;
@@ -240,6 +240,7 @@
else NumTriangle++;
}
break;
+ }
case ICDiamond:
if (DisableDiamond) break;
DOUT << "Ifcvt (Diamond): BB#" << BBI.BB->getNumber() << " (T:"