[llvm] 6af131a - [AggressiveInstCombine][Docs] Update pass documentation
Maksim Kita via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 09:33:43 PDT 2023
Author: Maksim Kita
Date: 2023-07-26T19:33:31+03:00
New Revision: 6af131abea21b1885bd251275cca50752b8eafe5
URL: https://github.com/llvm/llvm-project/commit/6af131abea21b1885bd251275cca50752b8eafe5
DIFF: https://github.com/llvm/llvm-project/commit/6af131abea21b1885bd251275cca50752b8eafe5.diff
LOG: [AggressiveInstCombine][Docs] Update pass documentation
Updated AggressiveInstCombine pass documentation because now AggressiveInstCombine can modify CFG.
Introduced in D154725.
Differential Revision: https://reviews.llvm.org/D156134
Added:
Modified:
llvm/docs/Passes.rst
Removed:
################################################################################
diff --git a/llvm/docs/Passes.rst b/llvm/docs/Passes.rst
index a2657c3479f3bc..541e23677debf9 100644
--- a/llvm/docs/Passes.rst
+++ b/llvm/docs/Passes.rst
@@ -632,14 +632,13 @@ library calls on
diff erent targets.
--------------------------------------------------------
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
diff ers 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.
+It
diff ers from instcombine pass in that it can modify CFG and contains pattern
+optimization that requires higher complexity than the O(1), thus, it should run fewer
+times than instcombine pass.
``-internalize``: Internalize Global Symbols
--------------------------------------------
More information about the llvm-commits
mailing list