fix typo; NFC

llvm-svn: 240480
This commit is contained in:
Sanjay Patel 2015-06-23 23:26:22 +00:00
parent 1be4940a1c
commit 6a24811d87
1 changed files with 1 additions and 1 deletions

View File

@ -2125,7 +2125,7 @@ Instruction *InstCombiner::visitSwitchInst(SwitchInst &SI) {
// Truncate the condition operand if the new type is equal to or larger than
// the largest legal integer type. We need to be conservative here since
// x86 generates redundant zero-extenstion instructions if the operand is
// x86 generates redundant zero-extension instructions if the operand is
// truncated to i8 or i16.
bool TruncCond = false;
if (NewWidth > 0 && BitWidth > NewWidth &&