[Mlir-commits] [mlir] [mlir][vector] Refine select uses on uniform reduction paths (PR #235640)
Federico Bruzzone
llvmlistbot at llvm.org
Tue Nov 3 03:56:31 PST 2026
================
@@ -8713,11 +8715,102 @@ struct SelectBroadcastCondition : OpRewritePattern<arith::SelectOp> {
return success();
}
};
+
+/// Conservatively compute the regions reachable from an operation entry.
+/// Region-to-region edges are included: an entry-only check is insufficient for
+/// loops and operations that enter one region through another.
+static bool isRegionReachable(RegionBranchOpInterface branch, Region *target,
----------------
FedericoBruzzone wrote:
Can we drop static here?
https://github.com/llvm/llvm-project/pull/235640
More information about the Mlir-commits
mailing list