summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-10 05:29:43 +0000
committerChris Lattner <sabre@nondot.org>2003-09-10 05:29:43 +0000
commit216c7b8aedbf4c3f5a60835c75872ddc35cfc3e4 (patch)
treed211caa84e1e2fffddd6000d9534fefdb8c23db1 /llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
parent4e621cd8614d87071cb5146ed4f825936a285b09 (diff)
downloadbcm5719-llvm-216c7b8aedbf4c3f5a60835c75872ddc35cfc3e4.tar.gz
bcm5719-llvm-216c7b8aedbf4c3f5a60835c75872ddc35cfc3e4.zip
Fix spell-o's
llvm-svn: 8431
Diffstat (limited to 'llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp b/llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
index 3e8dc0ce5da..9b90155ca82 100644
--- a/llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
+++ b/llvm/lib/Transforms/Scalar/CorrelatedExprs.cpp
@@ -38,7 +38,7 @@
namespace {
Statistic<> NumSetCCRemoved("cee", "Number of setcc instruction eliminated");
- Statistic<> NumOperandsCann("cee", "Number of operands cannonicalized");
+ Statistic<> NumOperandsCann("cee", "Number of operands canonicalized");
Statistic<> BranchRevectors("cee", "Number of branches revectored");
class ValueInfo;
@@ -950,7 +950,7 @@ void CEE::IncorporateInstruction(Instruction *Inst, RegionInfo &RI) {
// X and a constant C, we can replace all uses of X with C in the region we are
// interested in. We generalize this replacement to replace variables with
// other variables if they are equal and there is a variable with lower rank
-// than the current one. This offers a cannonicalizing property that exposes
+// than the current one. This offers a canonicalizing property that exposes
// more redundancies for later transformations to take advantage of.
//
void CEE::ComputeReplacements(RegionInfo &RI) {
@@ -1019,7 +1019,7 @@ bool CEE::SimplifyBasicBlock(BasicBlock &BB, const RegionInfo &RI) {
}
// SimplifyInstruction - Inspect the operands of the instruction, converting
-// them to their cannonical form if possible. This takes care of, for example,
+// them to their canonical form if possible. This takes care of, for example,
// replacing a value 'X' with a constant 'C' if the instruction in question is
// dominated by a true seteq 'X', 'C'.
//
OpenPOWER on IntegriCloud