[flang-commits] [flang] [mlir] [mlir][Transforms] `GreedyPatternRewriteDriver`: Do not CSE constants during iterations (PR #75897)
Jacques Pienaar via flang-commits
flang-commits at lists.llvm.org
Thu Dec 21 20:05:11 PST 2023
================
@@ -273,7 +273,14 @@ DecomposeLinalgOp::matchAndRewrite(GenericOp genericOp,
/// If the op has only a single statement (apart from the yield), do nothing.
Block *body = genericOp.getBody();
- if (body->getOperations().size() <= 2) {
+ int64_t numOps = 0;
+ for (Operation &op : body->getOperations()) {
----------------
jpienaar wrote:
Is this change related?
https://github.com/llvm/llvm-project/pull/75897
More information about the flang-commits
mailing list