fix typo; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 23 Jun 2015 23:26:22 +0000 (23:26 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 23 Jun 2015 23:26:22 +0000 (23:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240480 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstructionCombining.cpp

index d690a795e0080c9c2c17d059b8f2644adb26bd2c..2a81689f7449606f01feccb751878fba4c9c8d27 100644 (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 &&