summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2018-01-25 12:06:32 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2018-01-25 12:06:32 +0000
commitf1f57a31376efdcc70a6f70bab880926390bc362 (patch)
tree3604cb90fb519c08d1b149bb0f48b354fd36dc19 /llvm/docs
parent0027ddfd85d4d9834fee5a31af3559bcada5f3b8 (diff)
downloadbcm5719-llvm-f1f57a31376efdcc70a6f70bab880926390bc362.tar.gz
bcm5719-llvm-f1f57a31376efdcc70a6f70bab880926390bc362.zip
Another try to commit 323321 (aggressive instruction combine).
llvm-svn: 323416
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/Passes.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index 77461f3c52d..39874e4c8a0 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -641,6 +641,21 @@ not library calls are simplified is controlled by the
:ref:`-functionattrs <passes-functionattrs>` pass and LLVM's knowledge of
library calls on different targets.
+.. _passes-aggressive-instcombine:
+
+``-aggressive-instcombine``: Combine expression patterns
+--------------------------------------------------------
+
+Combine expression patterns to form expressions with fewer, simple instructions.
+This pass does not modify the CFG.
+
+For example, this pass reduce width of expressions post-dominated by TruncInst
+into smaller width when applicable.
+
+It differs from instcombine pass in that it contains pattern optimization that
+requires higher complexity than the O(1), thus, it should run fewer times than
+instcombine pass.
+
``-internalize``: Internalize Global Symbols
--------------------------------------------
OpenPOWER on IntegriCloud