HomePhabricator

[MLIR][Linalg] Refactor transforms to use linalg::getDynOperands helper

Authored by rsuderman on Fri, Jan 8, 2:03 PM.

Description

[MLIR][Linalg] Refactor transforms to use linalg::getDynOperands helper

getDynOperands behavior is commonly used in a number of passes. Refactored to
use a helper function and avoid code reuse.

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