diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h index 8392292f1b39c..614d6f5260a8a 100644 --- a/llvm/include/llvm/CodeGen/SelectionDAG.h +++ b/llvm/include/llvm/CodeGen/SelectionDAG.h @@ -531,7 +531,7 @@ class SelectionDAG { } #ifndef NDEBUG - void VerifyDAGDiverence(); + void VerifyDAGDivergence(); #endif /// This iterates over the nodes in the SelectionDAG, folding diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 6a2756a3cd95b..08ff77b5ef33e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -9705,7 +9705,7 @@ void SelectionDAG::CreateTopologicalOrder(std::vector &Order) { } #ifndef NDEBUG -void SelectionDAG::VerifyDAGDiverence() { +void SelectionDAG::VerifyDAGDivergence() { std::vector TopoOrder; CreateTopologicalOrder(TopoOrder); for (auto *N : TopoOrder) { diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index a823c27b49e32..9c0098e0a3d14 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp @@ -798,7 +798,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif if (ViewDAGCombine1 && MatchFilterBB) @@ -818,7 +818,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif // Second step, hack on the DAG until it only uses operations and types that @@ -840,7 +840,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif // Only allow creation of legal node types. @@ -864,7 +864,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif } @@ -882,7 +882,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif { @@ -898,7 +898,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif if (ViewDAGCombineLT && MatchFilterBB) @@ -918,7 +918,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif } @@ -938,7 +938,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif if (ViewDAGCombine2 && MatchFilterBB) @@ -958,7 +958,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() { #ifndef NDEBUG if (TTI.hasBranchDivergence()) - CurDAG->VerifyDAGDiverence(); + CurDAG->VerifyDAGDivergence(); #endif if (OptLevel != CodeGenOpt::None)