[llvm] r240480 - fix typo; NFC

Sanjay Patel spatel at rotateright.com
Tue Jun 23 16:26:22 PDT 2015


Author: spatel
Date: Tue Jun 23 18:26:22 2015
New Revision: 240480

URL: http://llvm.org/viewvc/llvm-project?rev=240480&view=rev
Log:
fix typo; NFC

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=240480&r1=240479&r2=240480&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Tue Jun 23 18:26:22 2015
@@ -2125,7 +2125,7 @@ Instruction *InstCombiner::visitSwitchIn
 
   // 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 &&





More information about the llvm-commits mailing list