]> granicus.if.org Git - llvm/commitdiff
fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 2 Mar 2017 16:37:24 +0000 (16:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 2 Mar 2017 16:37:24 +0000 (16:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296760 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 3ba342a75fd9e93370da0fe222b10312439e1b11..fec03b50c9556837881ab0096e8bb2d68908fda4 100644 (file)
@@ -2951,7 +2951,7 @@ void SelectionDAGBuilder::visitBitCast(const User &I) {
                              DestVT, N)); // convert types.
   // Check if the original LLVM IR Operand was a ConstantInt, because getValue()
   // might fold any kind of constant expression to an integer constant and that
-  // is not what we are looking for. Only regcognize a bitcast of a genuine
+  // is not what we are looking for. Only recognize a bitcast of a genuine
   // constant integer as an opaque constant.
   else if(ConstantInt *C = dyn_cast<ConstantInt>(I.getOperand(0)))
     setValue(&I, DAG.getConstant(C->getValue(), dl, DestVT, /*isTarget=*/false,