fix typo; NFC
[oota-llvm.git] / lib / Transforms / Utils / SimplifyCFG.cpp
index 0277ed34f844817754a0a20b21c96520b498eb7b..a7f08352870918fb5d79e01e324ba0cab101ceff 100644 (file)
@@ -2827,7 +2827,7 @@ static bool SimplifyBranchOnICmpChain(BranchInst *BI, IRBuilder<> &Builder,
   Values.erase(std::unique(Values.begin(), Values.end()), Values.end());
 
   // If Extra was used, we require at least two switch values to do the
-  // transformation.  A switch with one value is just an cond branch.
+  // transformation.  A switch with one value is just a conditional branch.
   if (ExtraCase && Values.size() < 2) return false;
 
   // TODO: Preserve branch weight metadata, similarly to how