mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-14 11:39:35 +00:00
Add missing line breaks to debug output in CodeGenPrepare
llvm-svn: 208731
This commit is contained in:
parent
3f085ba6d6
commit
1b91aa2cf5
@ -2599,7 +2599,7 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
|
||||
Value *&SunkAddr = SunkAddrs[Addr];
|
||||
if (SunkAddr) {
|
||||
DEBUG(dbgs() << "CGP: Reusing nonlocal addrmode: " << AddrMode << " for "
|
||||
<< *MemoryInst);
|
||||
<< *MemoryInst << "\n");
|
||||
if (SunkAddr->getType() != Addr->getType())
|
||||
SunkAddr = Builder.CreateBitCast(SunkAddr, Addr->getType());
|
||||
} 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
|
||||
// prevents new inttoptr/ptrtoint pairs from degrading AA capabilities.
|
||||
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
||||
<< *MemoryInst);
|
||||
<< *MemoryInst << "\n");
|
||||
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
||||
Value *ResultPtr = nullptr, *ResultIndex = nullptr;
|
||||
|
||||
@ -2725,7 +2725,7 @@ bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
|
||||
}
|
||||
} else {
|
||||
DEBUG(dbgs() << "CGP: SINKING nonlocal addrmode: " << AddrMode << " for "
|
||||
<< *MemoryInst);
|
||||
<< *MemoryInst << "\n");
|
||||
Type *IntPtrTy = TLI->getDataLayout()->getIntPtrType(Addr->getType());
|
||||
Value *Result = nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user