summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/BlockGenerators.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-04-25 13:37:24 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2016-04-25 13:37:24 +0000
commit517d8d2f9408718312e7d2d9fdbabe4c64bf0314 (patch)
treeed8ba802ed4319d0ed93449dc10eecf5504a5fdb /polly/lib/CodeGen/BlockGenerators.cpp
parenta4dd8ef40fa89c7f3ab370a887430caefe9c9d6c (diff)
downloadbcm5719-llvm-517d8d2f9408718312e7d2d9fdbabe4c64bf0314.tar.gz
bcm5719-llvm-517d8d2f9408718312e7d2d9fdbabe4c64bf0314.zip
Check only loop control of loops that are part of the region
This also removes a duplicated line of code in the region generator that caused a SPEC benchmark to fail with the new SCoPs. llvm-svn: 267404
Diffstat (limited to 'polly/lib/CodeGen/BlockGenerators.cpp')
-rw-r--r--polly/lib/CodeGen/BlockGenerators.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/BlockGenerators.cpp b/polly/lib/CodeGen/BlockGenerators.cpp
index e980d375a17..99db6bc0263 100644
--- a/polly/lib/CodeGen/BlockGenerators.cpp
+++ b/polly/lib/CodeGen/BlockGenerators.cpp
@@ -1138,9 +1138,6 @@ void RegionGenerator::copyStmt(ScopStmt &Stmt, LoopToScevMapT &LTS,
BasicBlock *BBCopy = splitBB(BB);
BasicBlock *BBCopyIDom = repairDominance(BB, BBCopy);
- // In order to remap PHI nodes we store also basic block mappings.
- BlockMap[BB] = BBCopy;
-
// Get the mapping for this block and initialize it with either the scalar
// loads from the generated entering block (which dominates all blocks of
// this subregion) or the maps of the immediate dominator, if part of the
OpenPOWER on IntegriCloud