summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2016-12-29 05:38:31 +0000
committerCraig Topper <craig.topper@gmail.com>2016-12-29 05:38:31 +0000
commit62f06e241b3319d92e1b79760832186ad4379e0f (patch)
treec224b628a233c27f60d844b83d17b7e0f8028689 /llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
parent2e18bcfc601066dac3c6063dbd8e6236dd9fe814 (diff)
downloadbcm5719-llvm-62f06e241b3319d92e1b79760832186ad4379e0f.tar.gz
bcm5719-llvm-62f06e241b3319d92e1b79760832186ad4379e0f.zip
[InstCombine] Fix typo in comment. NFC
llvm-svn: 290706
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
index e76556afda6..8b930bd95df 100644
--- a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
@@ -1090,7 +1090,7 @@ Value *InstCombiner::SimplifyDemandedVectorElts(Value *V, APInt DemandedElts,
Constant *Value = nullptr;
unsigned Idx = -1u;
- // Find constant vector wigth the single element in shuffle (LHS or RHS).
+ // Find constant vector with the single element in shuffle (LHS or RHS).
if (LHSIdx < LHSVWidth && RHSUniform) {
if (auto *CV = dyn_cast<ConstantVector>(Shuffle->getOperand(0))) {
Op = Shuffle->getOperand(1);
OpenPOWER on IntegriCloud