summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2017-03-02 16:37:24 +0000
committerSanjay Patel <spatel@rotateright.com>2017-03-02 16:37:24 +0000
commitf7aba7ba22e15e7b6dc0238feeb19cccc5f46f53 (patch)
treec96cbffd3abc9cfa617e4d123a73365fdea543e2 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent484d7565832d54d3cb23aedb2789d6973a1ae0c8 (diff)
downloadbcm5719-llvm-f7aba7ba22e15e7b6dc0238feeb19cccc5f46f53.tar.gz
bcm5719-llvm-f7aba7ba22e15e7b6dc0238feeb19cccc5f46f53.zip
fix typo in comment; NFC
llvm-svn: 296760
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 3ba342a75fd..fec03b50c95 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -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,
OpenPOWER on IntegriCloud