[polly] r272783 - Replace ScalarReplAggregatesPass by SROAPass.

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 06:21:28 PDT 2016


Author: meinersbur
Date: Wed Jun 15 08:21:28 2016
New Revision: 272783

URL: http://llvm.org/viewvc/llvm-project?rev=272783&view=rev
Log:
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.

Modified:
    polly/trunk/lib/CodeGen/CodegenCleanup.cpp

Modified: polly/trunk/lib/CodeGen/CodegenCleanup.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodegenCleanup.cpp?rev=272783&r1=272782&r2=272783&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodegenCleanup.cpp (original)
+++ polly/trunk/lib/CodeGen/CodegenCleanup.cpp Wed Jun 15 08:21:28 2016
@@ -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());




More information about the llvm-commits mailing list