]> granicus.if.org Git - llvm/commitdiff
[LoopDist] Fix typo in diagnostic
authorAdam Nemet <anemet@apple.com>
Thu, 14 Jul 2016 22:33:46 +0000 (22:33 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 14 Jul 2016 22:33:46 +0000 (22:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275495 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopDistribute.cpp
test/Transforms/LoopDistribute/diagnostics.ll

index f438542aed7e78218f94f4b518a748b2c6b49f45..6133c251f3bd81bfe204fc5a8fd5dd1e33097056 100644 (file)
@@ -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;
index 67b34e41b72a59a577bc82e0aa315f26a8b1df33..9c0d915dfaf07f464294c7c13fcd9ff3cd555c37 100644 (file)
@@ -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: