diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-11-07 14:35:36 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-11-07 14:35:36 +0000 |
commit | de58e936667f57a0a891e0f283a0788c9241d024 (patch) | |
tree | 9e0587d64ff766215dcd6838ae04a0f6c55e1fad /llvm/lib/Transforms | |
parent | 7552d0d2e680ca5d2d9408ee61bad5dd73b2dd47 (diff) | |
download | bcm5719-llvm-de58e936667f57a0a891e0f283a0788c9241d024.tar.gz bcm5719-llvm-de58e936667f57a0a891e0f283a0788c9241d024.zip |
fix typos aggressively; NFC
llvm-svn: 346316
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/InstCombine/InstructionCombining.cpp | 2 | ||||
-rw-r--r-- | llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp index 3e72b1da779..a3962a04b50 100644 --- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp +++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp @@ -2512,7 +2512,7 @@ Instruction *InstCombiner::visitSwitchInst(SwitchInst &SI) { // Shrink the condition operand if the new type is smaller than the old type. // But do not shrink to a non-standard type, because backend can't generate // good code for that yet. - // TODO: We can make it agressive again after fixing PR39569. + // TODO: We can make it aggressive again after fixing PR39569. if (NewWidth > 0 && NewWidth < Known.getBitWidth() && shouldChangeType(Known.getBitWidth(), NewWidth)) { IntegerType *Ty = IntegerType::get(SI.getContext(), NewWidth); diff --git a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp index bac6ef99f03..b9e8e3424cc 100644 --- a/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp +++ b/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp @@ -197,7 +197,7 @@ static bool canSplitCallSite(CallSite CS, TargetTransformInfo &TTI) { isa<IndirectBrInst>(Preds[1]->getTerminator())) return false; - // BasicBlock::canSplitPredecessors is more agressive, so checking for + // BasicBlock::canSplitPredecessors is more aggressive, so checking for // BasicBlock::isEHPad as well. if (!CallSiteBB->canSplitPredecessors() || CallSiteBB->isEHPad()) return false; |