gysit wrote: > Another way I see would be defining APIntParameter with correct comparator in mlir/include/mlir/IR/AttrTypeBase.td. Yeah I think this is my preferred solution so far. https://github.com/llvm/llvm-project/pull/135772