HomePhabricator

Add an optional argument for pattern rewriter max iteration count (NFC)

Authored by Augusteijn on Nov 16 2020, 2:47 PM.

Description

Add an optional argument for pattern rewriter max iteration count (NFC)

Some rewriters take more iterations to converge, add a parameter to overwrite
the built-in maximum iteration count.

Fix PR48073.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D91553