From 1a18f1ad10642aa74ffb15983854800f44d9cee7 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Fri, 21 Apr 2017 20:06:41 +0000 Subject: typo llvm-svn: 301030 --- llvm/lib/Transforms/Utils/Local.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Transforms/Utils/Local.cpp') diff --git a/llvm/lib/Transforms/Utils/Local.cpp b/llvm/lib/Transforms/Utils/Local.cpp index 8c544276264..09924d15a11 100644 --- a/llvm/lib/Transforms/Utils/Local.cpp +++ b/llvm/lib/Transforms/Utils/Local.cpp @@ -1378,7 +1378,7 @@ void llvm::salvageDebugInfo(Instruction &I) { if (GEP->accumulateConstantOffset(M.getDataLayout(), Offset)) { auto *DIExpr = DVI->getExpression(); DIBuilder DIB(M, /*AllowUnresolved*/ false); - // GEP offsets are i32 and thus alwaus fit into an int64_t. + // GEP offsets are i32 and thus always fit into an int64_t. DIExpr = prependDIExpr(DIB, DIExpr, NoDeref, Offset.getSExtValue()); DVI->setOperand(0, MDWrap(I.getOperand(0))); DVI->setOperand(3, MetadataAsValue::get(I.getContext(), DIExpr)); -- cgit v1.2.3