[SimplifyCFG] fix formatting; NFC
authorSanjay Patel <spatel@rotateright.com>
Fri, 13 Mar 2020 17:40:53 +0000 (13:40 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 13 Mar 2020 18:12:28 +0000 (14:12 -0400)
llvm/lib/Transforms/Utils/SimplifyCFG.cpp

index c381d36..36358ef 100644 (file)
@@ -2132,13 +2132,12 @@ static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB,
       continue;
 
     // Create a select whose true value is the speculatively executed value and
-    // false value is the preexisting value. Swap them if the branch
+    // false value is the pre-existing value. Swap them if the branch
     // destinations were inverted.
     Value *TrueV = ThenV, *FalseV = OrigV;
     if (Invert)
       std::swap(TrueV, FalseV);
-    Value *V = Builder.CreateSelect(
-        BrCond, TrueV, FalseV, "spec.select", BI);
+    Value *V = Builder.CreateSelect(BrCond, TrueV, FalseV, "spec.select", BI);
     PN.setIncomingValue(OrigI, V);
     PN.setIncomingValue(ThenI, V);
   }