llvm-project
89c5c3ba - [MLIR][IR] Add assert to Operation::moveBefore (NFC) (#137772)

Commit
360 days ago
[MLIR][IR] Add assert to Operation::moveBefore (NFC) (#137772) This commit adds an assert to `Operation::moveBefore` which ensures that moving of operations without a parent block is detected early on. This case otherwise runs into a segfault, as it's assumed that there is an parent block.
Author
Parents
Loading