summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodegenCleanup.cpp
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2016-06-15 13:21:28 +0000
committerMichael Kruse <llvm@meinersbur.de>2016-06-15 13:21:28 +0000
commit6b4e9282856acada8fb430923d9a4eebf6535f22 (patch)
tree69df321fbb5e4cdbb54f643bb82bd266ecbffcf4 /polly/lib/CodeGen/CodegenCleanup.cpp
parent0381cd7dbf50cd5159b16fed29ed7fbbf86e89f2 (diff)
downloadbcm5719-llvm-6b4e9282856acada8fb430923d9a4eebf6535f22.tar.gz
bcm5719-llvm-6b4e9282856acada8fb430923d9a4eebf6535f22.zip
Replace ScalarReplAggregatesPass by SROAPass.
ScalarReplAggregatesPass was deprecated and replaced by SROAPass. ScalarReplAggregatesPass got finally removed in LLVM commit r272737, hence this patch is also a compile fix. llvm-svn: 272783
Diffstat (limited to 'polly/lib/CodeGen/CodegenCleanup.cpp')
-rw-r--r--polly/lib/CodeGen/CodegenCleanup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/CodegenCleanup.cpp b/polly/lib/CodeGen/CodegenCleanup.cpp
index efb438b97e6..74fae62476e 100644
--- a/polly/lib/CodeGen/CodegenCleanup.cpp
+++ b/polly/lib/CodeGen/CodegenCleanup.cpp
@@ -51,7 +51,7 @@ public:
// -polly-position=early. This can probably be reduced to a more compact set
// of passes.
FPM->add(createCFGSimplificationPass());
- FPM->add(createScalarReplAggregatesPass());
+ FPM->add(createSROAPass());
FPM->add(createEarlyCSEPass());
FPM->add(createInstructionCombiningPass());
FPM->add(createJumpThreadingPass());
OpenPOWER on IntegriCloud