[Mlir-commits] [mlir] [mlir][IR] Adjust insertion block when splitting blocks / moving ops (PR #150819)
Markus Böck
llvmlistbot at llvm.org
Sun Jul 27 03:26:06 PDT 2025
================
@@ -152,6 +152,10 @@ class alignas(8) Block : public IRObjectWithUseList<BlockOperand>,
Operation &back() { return operations.back(); }
Operation &front() { return operations.front(); }
+ /// Return if the iterator `a` is before `b`. Both iterators must point into
+ /// this block.
+ bool isBeforeInBlock(iterator a, iterator b);
----------------
zero9178 wrote:
```suggestion
/// Return if the iterator 'a' is before 'b'. Both iterators must point into
/// this block.
bool isBeforeInBlock(iterator a, iterator b);
```
https://github.com/llvm/llvm-project/pull/150819
More information about the Mlir-commits
mailing list