diff options
author | Joel Jones <joelkevinjones@gmail.com> | 2016-12-16 18:22:54 +0000 |
---|---|---|
committer | Joel Jones <joelkevinjones@gmail.com> | 2016-12-16 18:22:54 +0000 |
commit | 8980ba643e3ec8d00d7cdf75a3a298fa1fd4fee2 (patch) | |
tree | 424792ea9c868283faa6b369025698537a3ebc2a /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 5d804dc8f765cca28a6738cdc3efdfc7f71a5b4a (diff) | |
download | bcm5719-llvm-8980ba643e3ec8d00d7cdf75a3a298fa1fd4fee2.tar.gz bcm5719-llvm-8980ba643e3ec8d00d7cdf75a3a298fa1fd4fee2.zip |
Fix name typo in SelectonDAG
llvm-svn: 289969
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 497513808c7..d5a5bf8e22d 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -6159,14 +6159,14 @@ SDNode *SelectionDAG::SelectNodeTo(SDNode *N, unsigned MachineOpc, return New; } -/// UpdadeSDLocOnMergedSDNode - If the opt level is -O0 then it throws away +/// UpdateSDLocOnMergeSDNode - If the opt level is -O0 then it throws away /// the line number information on the merged node since it is not possible to /// preserve the information that operation is associated with multiple lines. /// This will make the debugger working better at -O0, were there is a higher /// probability having other instructions associated with that line. /// /// For IROrder, we keep the smaller of the two -SDNode *SelectionDAG::UpdadeSDLocOnMergedSDNode(SDNode *N, const SDLoc &OLoc) { +SDNode *SelectionDAG::UpdateSDLocOnMergeSDNode(SDNode *N, const SDLoc &OLoc) { DebugLoc NLoc = N->getDebugLoc(); if (NLoc && OptLevel == CodeGenOpt::None && OLoc.getDebugLoc() != NLoc) { N->setDebugLoc(DebugLoc()); @@ -6200,7 +6200,7 @@ SDNode *SelectionDAG::MorphNodeTo(SDNode *N, unsigned Opc, FoldingSetNodeID ID; AddNodeIDNode(ID, Opc, VTs, Ops); if (SDNode *ON = FindNodeOrInsertPos(ID, SDLoc(N), IP)) - return UpdadeSDLocOnMergedSDNode(ON, SDLoc(N)); + return UpdateSDLocOnMergeSDNode(ON, SDLoc(N)); } if (!RemoveNodeFromCSEMaps(N)) @@ -6352,7 +6352,7 @@ MachineSDNode *SelectionDAG::getMachineNode(unsigned Opcode, const SDLoc &DL, AddNodeIDNode(ID, ~Opcode, VTs, Ops); IP = nullptr; if (SDNode *E = FindNodeOrInsertPos(ID, DL, IP)) { - return cast<MachineSDNode>(UpdadeSDLocOnMergedSDNode(E, DL)); + return cast<MachineSDNode>(UpdateSDLocOnMergeSDNode(E, DL)); } } |