mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Add missing line breaks to debug output in CodeGenPrepare
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208731 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b6887d97c
commit
8a8de72063
@ -2599,7 +2599,7 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
|
|||||||
Value *&SunkAddr = SunkAddrs[Addr];
|
Value *&SunkAddr = SunkAddrs[Addr];
|
||||||
if (SunkAddr) {
|
if (SunkAddr) {
|
||||||
DEBUG(dbgs() << "CGP: Reusing nonlocal addrmode: " << AddrMode << " for "
|
DEBUG(dbgs() << "CGP: Reusing nonlocal addrmode: " << AddrMode << " for "
|
||||||
<< *MemoryInst);
|
<< *MemoryInst << "\n");
|
||||||
if (SunkAddr->getType() != Addr->getType())
|
if (SunkAddr->getType() != Addr->getType())
|
||||||
SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType());
|
SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType());
|
||||||
} else if (AddrSinkUsingGEPs || (!AddrSinkUsingGEPs.getNumOccurrences() &&
|
} else if (AddrSinkUsingGEPs || (!AddrSinkUsingGEPs.getNumOccurrences() &&
|
||||||
@ -2607,7 +2607,7 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
|
|||||||
// By default, we use the GEP-based method when AA is used later. This
|
// By default, we use the GEP-based method when AA is used later. This
|
||||||
// prevents new inttoptr/ptrtoint pairs from degrading AA capabilities.
|
// prevents new inttoptr/ptrtoint pairs from degrading AA capabilities.
|
||||||
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
||||||
<< *MemoryInst);
|
<< *MemoryInst << "\n");
|
||||||
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
||||||
Value *ResultPtr = nullptr, *ResultIndex = nullptr;
|
Value *ResultPtr = nullptr, *ResultIndex = nullptr;
|
||||||
|
|
||||||
@ -2725,7 +2725,7 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
||||||
<< *MemoryInst);
|
<< *MemoryInst << "\n");
|
||||||
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
||||||
Value *Result = nullptr;
|
Value *Result = nullptr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user