Fix the build.
authorReid Spencer <rspencer@reidspencer.com>
Sun, 10 Jun 2007 00:19:17 +0000 (00:19 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 10 Jun 2007 00:19:17 +0000 (00:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37537 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/IfConversion.cpp

index 4adf859f78edbf7cb3319d8b1d5822eb49693459..3969a52cc5ba9758ff70368bed4c3e0810297b6c 100644 (file)
@@ -218,7 +218,7 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) {
       }
       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 @@ bool IfConverter::runOnMachineFunction(MachineFunction &MF) {
           else              NumTriangle++;
         }
         break;
+      }
       case ICDiamond:
         if (DisableDiamond) break;
         DOUT << "Ifcvt (Diamond): BB#" << BBI.BB->getNumber() << " (T:"