aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2013-08-28 22:17:26 +0000
committerMatt Arsenault <Matthew.Arsenault@amd.com>2013-08-28 22:17:26 +0000
commitb70d79e7e93cbca738130a71c9431e104acd317b (patch)
tree5b12fe0efbbb5cb731a1da567e265e31197af3de /lib/Transforms/InstCombine/InstCombineVectorOps.cpp
parent4cff093bd6a1a474aff638f6ad32d56914c7488e (diff)
downloadexternal_llvm-b70d79e7e93cbca738130a71c9431e104acd317b.zip
external_llvm-b70d79e7e93cbca738130a71c9431e104acd317b.tar.gz
external_llvm-b70d79e7e93cbca738130a71c9431e104acd317b.tar.bz2
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
-rw-r--r--lib/Transforms/InstCombine/InstCombineVectorOps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
index f3de6e2..8877b99 100644
--- a/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
+++ b/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
@@ -106,8 +106,8 @@ static Value *FindScalarElement(Value *V, unsigned EltNo) {
}
// 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))