summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LowerAllocations.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-08-18 14:43:39 +0000
commit7eb05a170a7fcd7d63ce12b6692c2e9e27631634 (patch)
tree640876643616502c9623ba5d14e021c7c88b9682 /llvm/lib/Transforms/Scalar/LowerAllocations.cpp
parent688d99fd9ceafc4d0b99501d1cf5d49892c44166 (diff)
downloadbcm5719-llvm-7eb05a170a7fcd7d63ce12b6692c2e9e27631634.tar.gz
bcm5719-llvm-7eb05a170a7fcd7d63ce12b6692c2e9e27631634.zip
Spell `necessary' correctly.
llvm-svn: 7944
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LowerAllocations.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LowerAllocations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LowerAllocations.cpp b/llvm/lib/Transforms/Scalar/LowerAllocations.cpp
index 53584d9d3e3..8d75ae8e8c6 100644
--- a/llvm/lib/Transforms/Scalar/LowerAllocations.cpp
+++ b/llvm/lib/Transforms/Scalar/LowerAllocations.cpp
@@ -97,7 +97,7 @@ bool LowerAllocations::runOnBasicBlock(BasicBlock &BB) {
if (MI->getNumOperands() && Size == 1) {
MallocArg = MI->getOperand(0); // Operand * 1 = Operand
} else if (MI->getNumOperands()) {
- // Multiply it by the array size if neccesary...
+ // Multiply it by the array size if necessary...
MallocArg = BinaryOperator::create(Instruction::Mul, MI->getOperand(0),
MallocArg, "", I);
}
OpenPOWER on IntegriCloud