summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-04-21 20:06:41 +0000
committerAdrian Prantl <aprantl@apple.com>2017-04-21 20:06:41 +0000
commit1a18f1ad10642aa74ffb15983854800f44d9cee7 (patch)
tree6054bf7528aebca9bf75a3a9366220a0815cc281 /llvm/lib/Transforms/Utils
parentf628406bbd6f51acb7c05a43fe9a2c140e39fbc4 (diff)
downloadbcm5719-llvm-1a18f1ad10642aa74ffb15983854800f44d9cee7.tar.gz
bcm5719-llvm-1a18f1ad10642aa74ffb15983854800f44d9cee7.zip
typo
llvm-svn: 301030
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r--llvm/lib/Transforms/Utils/Local.cpp2
1 files changed, 1 insertions, 1 deletions
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));
OpenPOWER on IntegriCloud