aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-12-13 00:18:46 +0000
committerChad Rosier <mcrosier@apple.com>2012-12-13 00:18:46 +0000
commit0fabd08066a29f4e5060539d0d0605cbfe2760b8 (patch)
tree753c0446438592da9c46e6a7368035e64bad1ac0 /lib
parent5399d2502acaf96fe8420e61913e77f0b23650ff (diff)
downloadexternal_llvm-0fabd08066a29f4e5060539d0d0605cbfe2760b8.zip
external_llvm-0fabd08066a29f4e5060539d0d0605cbfe2760b8.tar.gz
external_llvm-0fabd08066a29f4e5060539d0d0605cbfe2760b8.tar.bz2
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170050 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/InstCombine/InstCombineCalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp
index 784742f..8cd9409 100644
--- a/lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -899,7 +899,7 @@ Instruction *InstCombiner::visitCallSite(CallSite CS) {
new StoreInst(ConstantInt::getTrue(Callee->getContext()),
UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
OldCall);
- // If OldCall dues not return void then replaceAllUsesWith undef.
+ // If OldCall does not return void then replaceAllUsesWith undef.
// This allows ValueHandlers and custom metadata to adjust itself.
if (!OldCall->getType()->isVoidTy())
ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType()));