[Mlir-commits] [mlir] [mlir][IR] Mark `getParentBlock()` and `getParentRegion()` as const (NFC) (PR #151915)
Longsheng Mou
llvmlistbot at llvm.org
Mon Aug 4 15:50:18 PDT 2025
CoTinker wrote:
> > The reason behind this change is that Value::getParentOp() is already const, and since ValueComparator::operator() takes const Values
>
> I would think that ValueComparator can just const_cast the values in its implementation?
> Fine, I'll fix it.
https://github.com/llvm/llvm-project/pull/151915
More information about the Mlir-commits
mailing list