[Mlir-commits] [mlir] [mlir][IR] Mark `getParentBlock()` and `getParentRegion()` as const (NFC) (PR #151915)
Mehdi Amini
llvmlistbot at llvm.org
Mon Aug 4 13:27:25 PDT 2025
joker-eph 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?
https://github.com/llvm/llvm-project/pull/151915
More information about the Mlir-commits
mailing list