[llvm] r189524 - Fix typo.

Matt Arsenault Matthew.Arsenault at amd.com
Wed Aug 28 15:17:27 PDT 2013


Author: arsenm
Date: Wed Aug 28 17:17:26 2013
New Revision: 189524

URL: http://llvm.org/viewvc/llvm-project?rev=189524&view=rev
Log:
Fix typo.

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

Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineVectorOps.cpp?rev=189524&r1=189523&r2=189524&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstCombineVectorOps.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstCombineVectorOps.cpp Wed Aug 28 17:17:26 2013
@@ -106,8 +106,8 @@ static Value *FindScalarElement(Value *V
 }
 
 // If we have a PHI node with a vector type that has only 2 uses: feed
-// itself and be an operand of extractelemnt at a constant location,
-// try to replace the PHI of the vector type with a PHI of a scalar type
+// itself and be an operand of extractelement at a constant location,
+// try to replace the PHI of the vector type with a PHI of a scalar type.
 Instruction *InstCombiner::scalarizePHI(ExtractElementInst &EI, PHINode *PN) {
   // Verify that the PHI node has exactly 2 uses. Otherwise return NULL.
   if (!PN->hasNUses(2))





More information about the llvm-commits mailing list