summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ValueNumbering.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
commit329983228facab758490d524a4f48a365a4f13a3 (patch)
tree5d0f99099ae5dc9226216054cbe606038ead1b24 /llvm/lib/Analysis/ValueNumbering.cpp
parentcd5a59fb5b185d7dc39af6c3b4bb7a45ad77c8e2 (diff)
downloadbcm5719-llvm-329983228facab758490d524a4f48a365a4f13a3.tar.gz
bcm5719-llvm-329983228facab758490d524a4f48a365a4f13a3.zip
Fixed spelling and grammar.
llvm-svn: 8478
Diffstat (limited to 'llvm/lib/Analysis/ValueNumbering.cpp')
-rw-r--r--llvm/lib/Analysis/ValueNumbering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Analysis/ValueNumbering.cpp b/llvm/lib/Analysis/ValueNumbering.cpp
index 53d70e84b57..d28f0b73675 100644
--- a/llvm/lib/Analysis/ValueNumbering.cpp
+++ b/llvm/lib/Analysis/ValueNumbering.cpp
@@ -100,7 +100,7 @@ void BVNImpl::visitCastInst(CastInst &CI) {
// Check to see if this new cast is not I, but has the same operand...
if (Other != &I && Other->getOpcode() == I.getOpcode() &&
Other->getOperand(0) == Op && // Is the operand the same?
- // Is it embeded in the same function? (This could be false if LHS
+ // Is it embedded in the same function? (This could be false if LHS
// is a constant or global!)
Other->getParent()->getParent() == F &&
@@ -118,7 +118,7 @@ void BVNImpl::visitCastInst(CastInst &CI) {
//
static inline bool isIdenticalBinaryInst(const Instruction &I1,
const Instruction *I2) {
- // Is it embeded in the same function? (This could be false if LHS
+ // Is it embedded in the same function? (This could be false if LHS
// is a constant or global!)
if (I1.getOpcode() != I2->getOpcode() ||
I1.getParent()->getParent() != I2->getParent()->getParent())
OpenPOWER on IntegriCloud