[Mlir-commits] [mlir] [mlir][IR] Adjust insertion block when splitting blocks / moving ops (PR #150819)

Mehdi Amini llvmlistbot at llvm.org
Sun Jul 27 13:14:37 PDT 2025


================
@@ -68,6 +68,16 @@ void Block::erase() {
   getParent()->getBlocks().erase(this);
 }
 
+bool Block::isBeforeInBlock(iterator a, iterator b) {
----------------
joker-eph wrote:

Can you add an assertion that they are in the same block here?

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


More information about the Mlir-commits mailing list