[Mlir-commits] [mlir] [mlir][affine] Modernize AffineLoopNormalizePass constructor using inherited constructors (NFC) (PR #198536)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri May 22 01:00:25 PDT 2026


ftynse wrote:

I could have seen it as modernization, in the sense of going from C++98 to C++11 by using the constructor inheritance mechanism, if the constructor argument types were identical. They are not. The constructor in the derived class used a different type, presumably to decrease the amount of clutter for the callers (no need to construct the options object).

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


More information about the Mlir-commits mailing list