[PATCH] D156134: [AggressiveInstCombine][Docs] Update pass documentation

Maksim Kita via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 07:46:06 PDT 2023


kitaisreal updated this revision to Diff 543975.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D156134/new/

https://reviews.llvm.org/D156134

Files:
  llvm/docs/Passes.rst


Index: llvm/docs/Passes.rst
===================================================================
--- llvm/docs/Passes.rst
+++ llvm/docs/Passes.rst
@@ -632,14 +632,13 @@
 --------------------------------------------------------
 
 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
 --------------------------------------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156134.543975.patch
Type: text/x-patch
Size: 938 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230725/32b4e9ff/attachment.bin>


More information about the llvm-commits mailing list