mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
Added DEBUG message for ObjCARC when an inline asm marker is inserted for architectures where this is required to perform a retainAutoreleasedReturnValue optimization.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171462 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
56bc0ab095
commit
50652cd89b
@ -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…
x
Reference in New Issue
Block a user