[llvm-commits] [polly] r150335 - in /polly/trunk: lib/CodeGeneration.cpp test/CodeGen/split_edges.ll test/CodeGen/split_edges_2.ll
Tobias Grosser
grosser at fim.uni-passau.de
Sun Feb 12 04:09:37 PST 2012
Author: grosser
Date: Sun Feb 12 06:09:37 2012
New Revision: 150335
URL: http://llvm.org/viewvc/llvm-project?rev=150335&view=rev
Log:
Codegen: Give split and merge basic blocks better names
Modified:
polly/trunk/lib/CodeGeneration.cpp
polly/trunk/test/CodeGen/split_edges.ll
polly/trunk/test/CodeGen/split_edges_2.ll
Modified: polly/trunk/lib/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGeneration.cpp?rev=150335&r1=150334&r2=150335&view=diff
==============================================================================
--- polly/trunk/lib/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGeneration.cpp Sun Feb 12 06:09:37 2012
@@ -1637,7 +1637,7 @@
BasicBlock *addSplitAndStartBlock(IRBuilder<> *builder) {
BasicBlock *splitBlock = splitEdgeAdvanced(region);
- splitBlock->setName("polly.enterScop");
+ splitBlock->setName("polly.split_new_and_old");
Function *function = splitBlock->getParent();
BasicBlock *startBlock = BasicBlock::Create(function->getContext(),
@@ -1670,7 +1670,7 @@
mergeBlock = SplitEdge(R->getExitingBlock(), R->getExit(), this);
// SplitEdge will never split R->getExit(), as R->getExit() has more than
// one predecessor. Hence, mergeBlock is always a newly generated block.
- mergeBlock->setName("polly.finalMerge");
+ mergeBlock->setName("polly.merge_new_and_old");
R->replaceExit(mergeBlock);
}
Modified: polly/trunk/test/CodeGen/split_edges.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/split_edges.ll?rev=150335&r1=150334&r2=150335&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/split_edges.ll (original)
+++ polly/trunk/test/CodeGen/split_edges.ll Sun Feb 12 06:09:37 2012
@@ -30,7 +30,5 @@
}
-; CHECK: polly.enterScop
-; CHECK: polly.finalMerge
-; CHECK: polly.enterScop
-; CHECK: polly.finalMerge
+; CHECK: polly.split_new_and_old
+; CHECK: polly.merge_new_and_old
Modified: polly/trunk/test/CodeGen/split_edges_2.ll
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/test/CodeGen/split_edges_2.ll?rev=150335&r1=150334&r2=150335&view=diff
==============================================================================
--- polly/trunk/test/CodeGen/split_edges_2.ll (original)
+++ polly/trunk/test/CodeGen/split_edges_2.ll Sun Feb 12 06:09:37 2012
@@ -26,8 +26,8 @@
}
-; CHECK: polly.enterScop
-; CHECK-NOT: polly.finalMerge
+; CHECK: polly.split_new_and_old
+; CHECK-NOT: polly.merge_new_and_old
More information about the llvm-commits
mailing list