summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/lib/CodeGen/ManagedMemoryRewrite.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
index 055f1a26c52..4546dcb458c 100644
--- a/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
+++ b/polly/lib/CodeGen/ManagedMemoryRewrite.cpp
@@ -124,8 +124,8 @@ static void expandConstantExpr(ConstantExpr *Cur, PollyIRBuilder &Builder,
Instruction *I = Cur->getAsInstruction();
assert(I && "unable to convert ConstantExpr to Instruction");
- DEBUG(dbgs() << "Expanding ConstantExpression: " << *Cur
- << " | in Instruction: " << *I << "\n";);
+ DEBUG(dbgs() << "Expanding ConstantExpression: (" << *Cur
+ << ") in Instruction: (" << *I << ")\n";);
// Invalidate `Cur` so that no one after this point uses `Cur`. Rather,
// they should mutate `I`.
@@ -209,8 +209,8 @@ replaceGlobalArray(Module &M, const DataLayout &DL, GlobalVariable &Array,
Array.hasInternalLinkage() ||
IgnoreLinkageForGlobals;
if (!OnlyVisibleInsideModule) {
- DEBUG(dbgs() << "Not rewriting " << Array
- << " to managed memory "
+ DEBUG(dbgs() << "Not rewriting (" << Array
+ << ") to managed memory "
"because it could be visible externally. To force rewrite, "
"use -polly-acc-rewrite-ignore-linkage-for-globals.\n");
return;
@@ -218,8 +218,8 @@ replaceGlobalArray(Module &M, const DataLayout &DL, GlobalVariable &Array,
if (!Array.hasInitializer() ||
!isa<ConstantAggregateZero>(Array.getInitializer())) {
- DEBUG(dbgs() << "Not rewriting " << Array
- << " to managed memory "
+ DEBUG(dbgs() << "Not rewriting (" << Array
+ << ") to managed memory "
"because it has an initializer which is "
"not a zeroinitializer.\n");
return;
@@ -288,14 +288,14 @@ static void getAllocasToBeManaged(Function &F,
auto *Alloca = dyn_cast<AllocaInst>(&I);
if (!Alloca)
continue;
- DEBUG(dbgs() << "Checking if " << *Alloca << "may be captured: ");
+ DEBUG(dbgs() << "Checking if (" << *Alloca << ") may be captured: ");
if (PointerMayBeCaptured(Alloca, /* ReturnCaptures */ false,
/* StoreCaptures */ true)) {
Allocas.insert(Alloca);
- DEBUG(dbgs() << "YES (captured)\n");
+ DEBUG(dbgs() << "YES (captured).\n");
} else {
- DEBUG(dbgs() << "NO (not captured)\n");
+ DEBUG(dbgs() << "NO (not captured).\n");
}
}
}
@@ -303,7 +303,7 @@ static void getAllocasToBeManaged(Function &F,
static void rewriteAllocaAsManagedMemory(AllocaInst *Alloca,
const DataLayout &DL) {
- DEBUG(dbgs() << "rewriting: " << *Alloca << " to managed mem.\n");
+ DEBUG(dbgs() << "rewriting: (" << *Alloca << ") to managed mem.\n");
Module *M = Alloca->getModule();
assert(M && "Alloca does not have a module");
OpenPOWER on IntegriCloud