mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-23 01:24:30 +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:
@ -899,7 +899,7 @@ Instruction *InstCombiner::visitCallSite(CallSite CS) {
|
|||||||
new StoreInst(ConstantInt::getTrue(Callee->getContext()),
|
new StoreInst(ConstantInt::getTrue(Callee->getContext()),
|
||||||
UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
|
UndefValue::get(Type::getInt1PtrTy(Callee->getContext())),
|
||||||
OldCall);
|
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.
|
// This allows ValueHandlers and custom metadata to adjust itself.
|
||||||
if (!OldCall->getType()->isVoidTy())
|
if (!OldCall->getType()->isVoidTy())
|
||||||
ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType()));
|
ReplaceInstUsesWith(*OldCall, UndefValue::get(OldCall->getType()));
|
||||||
|
Reference in New Issue
Block a user