mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-17 05:31:32 +00:00
Typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170050 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5399d2502a
commit
0fabd08066
@ -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…
x
Reference in New Issue
Block a user