diff --git a/llvm/lib/Transforms/Scalar/GlobalMerge.cpp b/llvm/lib/Transforms/Scalar/GlobalMerge.cpp index 71b55ca0d146..e8a65e3b736d 100644 --- a/llvm/lib/Transforms/Scalar/GlobalMerge.cpp +++ b/llvm/lib/Transforms/Scalar/GlobalMerge.cpp @@ -212,7 +212,7 @@ void GlobalMerge::setMustKeepGlobalVariables(Module &M) { ++IFn) { for (Function::iterator IBB = IFn->begin(), IEndBB = IFn->end(); IBB != IEndBB; ++IBB) { - // Follow the inwoke link to find the landing pad instruction + // Follow the invoke link to find the landing pad instruction const InvokeInst *II = dyn_cast(IBB->getTerminator()); if (!II) continue;