aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/CBackend/CBackend.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-09-11 22:34:13 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-09-11 22:34:13 +0000
commit37f92e25689bacd2308c92f33d01163478cf5ad1 (patch)
tree8f4ebfd4ceb92c20cb91f8fdd79f055b46bba570 /lib/Target/CBackend/CBackend.cpp
parent515c97c2301ac56f00f3acc443fc823e3153942e (diff)
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8489 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend/CBackend.cpp')
-rw-r--r--lib/Target/CBackend/CBackend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp
index f5334d559a..6d1fd14dae 100644
--- a/lib/Target/CBackend/CBackend.cpp
+++ b/lib/Target/CBackend/CBackend.cpp
@@ -886,7 +886,7 @@ void CWriter::printFunction(Function *F) {
BasicBlock *Prev = BB->getPrev();
// Don't print the label for the basic block if there are no uses, or if the
- // only terminator use is the precessor basic block's terminator. We have
+ // only terminator use is the predecessor basic block's terminator. We have
// to scan the use list because PHI nodes use basic blocks too but do not
// require a label to be generated.
//
@@ -1022,8 +1022,8 @@ void CWriter::printBranchToBlock(BasicBlock *CurBB, BasicBlock *Succ,
}
}
-// Brach instruction printing - Avoid printing out a brach to a basic block that
-// immediately succeeds the current one.
+// Branch instruction printing - Avoid printing out a branch to a basic block
+// that immediately succeeds the current one.
//
void CWriter::visitBranchInst(BranchInst &I) {
if (I.isConditional()) {
@@ -1155,7 +1155,7 @@ void CWriter::visitCallInst(CallInst &I) {
case LLVMIntrinsic::setjmp:
case LLVMIntrinsic::sigsetjmp:
- // This instrinsic should never exist in the program, but until we get
+ // This intrinsic should never exist in the program, but until we get
// setjmp/longjmp transformations going on, we should codegen it to
// something reasonable. This will allow code that never calls longjmp
// to work.