From 18a988e3a76eb0f8783d115618e48466854f5901 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Tue, 29 Oct 2013 02:35:28 +0000 Subject: [PATCH] Fix "existant" typos git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193579 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h | 2 +- lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 2 +- test/FileCheck/check-prefixes.txt | 4 ++-- test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h index 54506cfff4c..933c85c5160 100644 --- a/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h +++ b/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h @@ -34,7 +34,7 @@ public: // We can preserve non-critical-edgeness when we unify function exit nodes virtual void getAnalysisUsage(AnalysisUsage &AU) const; - // getReturn|Unwind|UnreachableBlock - Return the new single (or nonexistant) + // getReturn|Unwind|UnreachableBlock - Return the new single (or nonexistent) // return, unwind, or unreachable basic blocks in the CFG. // BasicBlock *getReturnBlock() const { return ReturnBlock; } diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f7db6188286..176e8505a2a 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -6451,7 +6451,7 @@ static void checkForCyclesHelper(const SDNode *N, void llvm::checkForCycles(const llvm::SDNode *N) { #ifdef XDEBUG - assert(N && "Checking nonexistant SDNode"); + assert(N && "Checking nonexistent SDNode"); SmallPtrSet visited; SmallPtrSet checked; checkForCyclesHelper(N, visited, checked); diff --git a/test/FileCheck/check-prefixes.txt b/test/FileCheck/check-prefixes.txt index a8af29d60b3..fc7a0435eb7 100644 --- a/test/FileCheck/check-prefixes.txt +++ b/test/FileCheck/check-prefixes.txt @@ -1,9 +1,9 @@ // RUN: FileCheck -check-prefix=ANOTHER-PREFIX -input-file %s %s -// RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTANT-PREFIX %s +// RUN: not FileCheck -check-prefix=PREFIX -input-file %s %s 2>&1 | FileCheck -check-prefix=CHECK-NONEXISTENT-PREFIX %s foobar ; ANOTHER-PREFIX: foobar ; We use regex to match the colon so that FileCheck won't think it is a check ; prefix. -; CHECK-NONEXISTANT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}' +; CHECK-NONEXISTENT-PREFIX: error: no check strings found with prefix 'PREFIX{{:}}' diff --git a/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll b/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll index fad52410ac8..001a1d695c9 100644 --- a/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll +++ b/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll @@ -1,6 +1,6 @@ ; RUN: opt < %s -loop-reduce -S | FileCheck %s ; -; Test LSR's ability to prune formulae that refer to nonexistant +; Test LSR's ability to prune formulae that refer to nonexistent ; AddRecs in other loops. ; ; Unable to reduce this case further because it requires LSR to exceed -- 2.34.1