[llvm-branch-commits] [mlir] [mlir][draft] Consolidate patterns into `RegionBranchOpInterface` patterns (PR #174094)

Matthias Springer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Jan 1 12:25:37 PST 2026


================
@@ -583,3 +624,283 @@ Region *mlir::getEnclosingRepetitiveRegion(Value value) {
   LDBG() << "No enclosing repetitive region found for value";
   return nullptr;
 }
+
+/// Is a defined before b?
+static bool isDefinedBefore(Value a, Value b) {
----------------
matthias-springer wrote:

Note: The full generality of this function may not be needed, but I have to think about this more...

https://github.com/llvm/llvm-project/pull/174094


More information about the llvm-branch-commits mailing list