mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Typo.
llvm-svn: 170050
This commit is contained in:
parent
0e3841e00e
commit
ae6e0d99a8
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user