aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-09-11 18:14:24 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-09-11 18:14:24 +0000
commit2f2d06506c9167dada05b11debe717334de972d4 (patch)
treeb4db466a5bb0270d2711628d7b91ded86660892d /lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
parent0043e4698c66bcac6526bbb9f133d2326a915494 (diff)
Fixed spelling and grammar.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8478 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp')
-rw-r--r--lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
index 764ec36f37..8c95eaa84f 100644
--- a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
+++ b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp
@@ -175,7 +175,7 @@ void FunctionLiveVarInfo::releaseMemory() {
// Following functions will give the LiveVar info for any machine instr in
// a function. It should be called after a call to analyze().
//
-// Thsese functions calucluates live var info for all the machine instrs in a
+// These functions calculate live var info for all the machine instrs in a
// BB when LVInfo for one inst is requested. Hence, this function is useful
// when live var info is required for many (or all) instructions in a basic
// block. Also, the arguments to this function does not require specific
@@ -217,7 +217,7 @@ FunctionLiveVarInfo::getLiveVarSetAfterMInst(const MachineInstr *MI,
// This function applies a machine instr to a live var set (accepts OutSet) and
// makes necessary changes to it (produces InSet). Note that two for loops are
// used to first kill all defs and then to add all uses. This is because there
-// can be instructions like Val = Val + 1 since we allow multipe defs to a
+// can be instructions like Val = Val + 1 since we allow multiple defs to a
// machine instruction operand.
//
static void applyTranferFuncForMInst(ValueSet &LVS, const MachineInstr *MInst) {