summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Nemet <anemet@apple.com>2016-07-14 22:33:46 +0000
committerAdam Nemet <anemet@apple.com>2016-07-14 22:33:46 +0000
commit74730d9ab08f8f82c848de225bb15d3249bedcf5 (patch)
treed88c2383fb9d1998abd2dbe54069a8ddfe512318
parentc52ae0e8d163d83b386dece18c67d770e9385ffa (diff)
downloadbcm5719-llvm-74730d9ab08f8f82c848de225bb15d3249bedcf5.tar.gz
bcm5719-llvm-74730d9ab08f8f82c848de225bb15d3249bedcf5.zip
[LoopDist] Fix typo in diagnostic
llvm-svn: 275495
-rw-r--r--llvm/lib/Transforms/Scalar/LoopDistribute.cpp2
-rw-r--r--llvm/test/Transforms/LoopDistribute/diagnostics.ll4
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
index f438542aed7..6133c251f3b 100644
--- a/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopDistribute.cpp
@@ -773,7 +773,7 @@ public:
// failed.
if (Forced)
Ctx.diagnose(DiagnosticInfoOptimizationFailure(
- *F, L->getStartLoc(), "loop not disributed: failed "
+ *F, L->getStartLoc(), "loop not distributed: failed "
"explicitly specified loop distribution"));
return false;
diff --git a/llvm/test/Transforms/LoopDistribute/diagnostics.ll b/llvm/test/Transforms/LoopDistribute/diagnostics.ll
index 67b34e41b72..9c0d915dfaf 100644
--- a/llvm/test/Transforms/LoopDistribute/diagnostics.ll
+++ b/llvm/test/Transforms/LoopDistribute/diagnostics.ll
@@ -34,7 +34,7 @@ target triple = "x86_64-apple-macosx10.11.0"
; MISSED_REMARKS: remark: /tmp/t.c:3:3: loop not distributed: use -Rpass-analysis=loop-distribute for more info
; ALWAYS: remark: /tmp/t.c:3:3: loop not distributed: memory operations are safe for vectorization
-; ALWAYS: warning: /tmp/t.c:3:3: loop not disributed: failed explicitly specified loop distribution
+; ALWAYS: warning: /tmp/t.c:3:3: loop not distributed: failed explicitly specified loop distribution
define void @forced(i8* %A, i8* %B, i8* %C, i32 %N) !dbg !7 {
entry:
@@ -65,7 +65,7 @@ for.cond.cleanup:
; NO_REMARKS-NOT: remark: /tmp/t.c:9:3: loop not distributed: memory operations are safe for vectorization
; MISSED_REMARKS: remark: /tmp/t.c:9:3: loop not distributed: use -Rpass-analysis=loop-distribute for more info
; ANALYSIS_REMARKS: remark: /tmp/t.c:9:3: loop not distributed: memory operations are safe for vectorization
-; ALWAYS-NOT: warning: /tmp/t.c:9:3: loop not disributed: failed explicitly specified loop distribution
+; ALWAYS-NOT: warning: /tmp/t.c:9:3: loop not distributed: failed explicitly specified loop distribution
define void @not_forced(i8* %A, i8* %B, i8* %C, i32 %N) !dbg !22 {
entry:
OpenPOWER on IntegriCloud