[llvm] r296760 - fix typo in comment; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 08:37:24 PST 2017


Author: spatel
Date: Thu Mar  2 10:37:24 2017
New Revision: 296760

URL: http://llvm.org/viewvc/llvm-project?rev=296760&view=rev
Log:
fix typo in comment; NFC

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=296760&r1=296759&r2=296760&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Thu Mar  2 10:37:24 2017
@@ -2951,7 +2951,7 @@ void SelectionDAGBuilder::visitBitCast(c
                              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,




More information about the llvm-commits mailing list