forked from OSchip/llvm-project
Added DEBUG message for ObjCARC when an inline asm marker is inserted for architectures where this is required to perform a retainAutoreleasedReturnValue optimization.
llvm-svn: 171462
This commit is contained in:
parent
7c27cc9fd0
commit
00d1f966b4
|
@ -4147,6 +4147,8 @@ bool ObjCARCContract::runOnFunction(Function &F) {
|
|||
} while (isNoopInstruction(BBI));
|
||||
|
||||
if (&*BBI == GetObjCArg(Inst)) {
|
||||
DEBUG(dbgs() << "ObjCARCContract: Adding inline asm marker for "
|
||||
"retainAutoreleasedReturnValue optimization.\n");
|
||||
Changed = true;
|
||||
InlineAsm *IA =
|
||||
InlineAsm::get(FunctionType::get(Type::getVoidTy(Inst->getContext()),
|
||||
|
|
Loading…
Reference in New Issue