[llvm] r301030 - typo
Adrian Prantl via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 13:06:41 PDT 2017
Author: adrian
Date: Fri Apr 21 15:06:41 2017
New Revision: 301030
URL: http://llvm.org/viewvc/llvm-project?rev=301030&view=rev
Log:
typo
Modified:
llvm/trunk/lib/Transforms/Utils/Local.cpp
Modified: llvm/trunk/lib/Transforms/Utils/Local.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/Local.cpp?rev=301030&r1=301029&r2=301030&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/Local.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/Local.cpp Fri Apr 21 15:06:41 2017
@@ -1378,7 +1378,7 @@ void llvm::salvageDebugInfo(Instruction
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));
More information about the llvm-commits
mailing list