Skip to content

Commit

Permalink
[AggressiveInstCombine][Docs] Update pass documentation
Browse files Browse the repository at this point in the history
Updated AggressiveInstCombine pass documentation because now AggressiveInstCombine can modify CFG.
Introduced in D154725.

Differential Revision: https://reviews.llvm.org/D156134
  • Loading branch information
kitaisreal committed Jul 26, 2023
1 parent c9de04e commit 6af131a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions llvm/docs/Passes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -632,14 +632,13 @@ library calls on different 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 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.
It differs 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
--------------------------------------------
Expand Down

0 comments on commit 6af131a

Please sign in to comment.