summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit38874731f6e16d860d5916a197a99304c14a05d6 (patch)
tree15a5d09bdfe21cb29c8cafb8efd2bef5e5097cfb /llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
parent043c53b5a819ea9e4ab827c5ea1a99bba70cbb3a (diff)
downloadbcm5719-llvm-38874731f6e16d860d5916a197a99304c14a05d6.tar.gz
bcm5719-llvm-38874731f6e16d860d5916a197a99304c14a05d6.zip
Fix typo.
llvm-svn: 189524
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp b/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
index f3de6e2d5c3..8877b99c31b 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp
+++ b/llvm/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))
OpenPOWER on IntegriCloud