diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-06-15 00:19:09 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-15 00:19:09 +0000 |
commit | 0c4f69f65331b0bac05557ece32caa286ee49959 (patch) | |
tree | eab2f3820a880a7a28d680b948745a1113e93dd1 /docs/Passes.rst | |
parent | 6af03e5068f2e63bdf202df252f1898fef59751f (diff) |
Remove the ScalarReplAggregates pass
Nearly all the changes to this pass have been done while maintaining and
updating other parts of LLVM. LLVM has had another pass, SROA, which
has superseded ScalarReplAggregates for quite some time.
Differential Revision: http://reviews.llvm.org/D21316
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Passes.rst')
-rw-r--r-- | docs/Passes.rst | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/docs/Passes.rst b/docs/Passes.rst index 2b5b85ea400..77461f3c52d 100644 --- a/docs/Passes.rst +++ b/docs/Passes.rst @@ -947,7 +947,7 @@ that this should make CFG hacking much easier. To make later hacking easier, the entry block is split into two, such that all introduced ``alloca`` instructions (and nothing else) are in the entry block. -``-scalarrepl``: Scalar Replacement of Aggregates (DT) +``-sroa``: Scalar Replacement of Aggregates ------------------------------------------------------ The well-known scalar replacement of aggregates transformation. This transform @@ -956,12 +956,6 @@ individual ``alloca`` instructions for each member if possible. Then, if possible, it transforms the individual ``alloca`` instructions into nice clean scalar SSA form. -This combines a simple scalar replacement of aggregates algorithm with the -:ref:`mem2reg <passes-mem2reg>` algorithm because they often interact, -especially for C++ programs. As such, iterating between ``scalarrepl``, then -:ref:`mem2reg <passes-mem2reg>` until we run out of things to promote works -well. - .. _passes-sccp: ``-sccp``: Sparse Conditional Constant Propagation |