summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-11-07 14:35:36 +0000
committerSanjay Patel <spatel@rotateright.com>2018-11-07 14:35:36 +0000
commitde58e936667f57a0a891e0f283a0788c9241d024 (patch)
tree9e0587d64ff766215dcd6838ae04a0f6c55e1fad /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent7552d0d2e680ca5d2d9408ee61bad5dd73b2dd47 (diff)
downloadbcm5719-llvm-de58e936667f57a0a891e0f283a0788c9241d024.tar.gz
bcm5719-llvm-de58e936667f57a0a891e0f283a0788c9241d024.zip
fix typos aggressively; NFC
llvm-svn: 346316
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp2
1 files changed, 1 insertions, 1 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);
OpenPOWER on IntegriCloud