[Mlir-commits] [mlir] [mlir] Handle null region in LoopLikeOpInterface::isDefinedOutsideOfLoop (PR #204521)

Maksim Levental llvmlistbot at llvm.org
Sat Jun 27 16:10:25 PDT 2026


https://github.com/makslevental approved this pull request.

I think one slightly prettier thing would be to add an API like `bool Region::isAttached()` (which checks if `Region::container` is null`) and then check that but this is fine too.

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


More information about the Mlir-commits mailing list