[Mlir-commits] [mlir] [mlir][Affine] Handle null parent op in getAffineParallelInductionVarOwner (PR #142025)
Han-Chung Wang
llvmlistbot at llvm.org
Thu May 29 14:07:18 PDT 2025
hanhanW wrote:
> Probably a C++ unit test would be the easiest approach here, since you can directly create an unlinked block. Thise seems like a decent example to base the test on:
>
> https://github.com/llvm/llvm-project/blob/572b89a1f42b83a0cb91534295ae7f360dff6d68/mlir/unittests/IR/IRMapping.cpp#L18-L26
Ah, thanks for the pointer, I'll take a look. My point was that we don't have the bar for all the utilities, and it seems a little weird for this additional check. But yeah, I can try if people think that it is a requirement.
https://github.com/llvm/llvm-project/pull/142025
More information about the Mlir-commits
mailing list