summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Gerbarg <lgg@apple.com>2014-05-13 21:54:22 +0000
committerLouis Gerbarg <lgg@apple.com>2014-05-13 21:54:22 +0000
commit1b91aa2cf5141ee3dc4cbbf2e6bdb931b51411ff (patch)
tree841712c8abd8efe1ad587f1a4d0e2633edb1ffda
parent3f085ba6d6fc900539922ec3b51eb7f3260f10b0 (diff)
downloadbcm5719-llvm-1b91aa2cf5141ee3dc4cbbf2e6bdb931b51411ff.tar.gz
bcm5719-llvm-1b91aa2cf5141ee3dc4cbbf2e6bdb931b51411ff.zip
Add missing line breaks to debug output in CodeGenPrepare
llvm-svn: 208731
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index a6d8a68588d..dc5f67b8c0b 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -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;
OpenPOWER on IntegriCloud