]> granicus.if.org Git - llvm/commitdiff
typo
authorAdrian Prantl <aprantl@apple.com>
Fri, 21 Apr 2017 20:06:41 +0000 (20:06 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 21 Apr 2017 20:06:41 +0000 (20:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301030 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/Local.cpp

index 8c5442762643b76b0f046dcd57c8b08c324a77fe..09924d15a118a778e3e0fdd9c9aab7915887501e 100644 (file)
@@ -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));