diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-18 14:43:39 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-18 14:43:39 +0000 |
commit | 5560c9d49ccae132cabf1155f18aa0480dce3eda (patch) | |
tree | 8fd8c1924c3dd2243b805e6e4d076cbdc57855fb /lib/Transforms/Scalar/Reassociate.cpp | |
parent | 00d7af60b0ac2e790b5be2821ccca895a00b0972 (diff) |
Spell `necessary' correctly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 716785b691..94446d09b8 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -177,7 +177,7 @@ static Value *NegateValue(Value *V, BasicBlock::iterator &BI) { // X = -(A+12+C+D) into X = -A + -12 + -C + -D = -12 + -A + -C + -D // so that later, a: Y = 12+X could get reassociated with the -12 to eliminate // the constants. We assume that instcombine will clean up the mess later if - // we introduce tons of unneccesary negation instructions... + // we introduce tons of unnecessary negation instructions... // if (Instruction *I = dyn_cast<Instruction>(V)) if (I->getOpcode() == Instruction::Add && I->use_size() == 1) { |