================ @@ -579,6 +591,17 @@ SmallVector<int64_t, 4> AffineMap::compose(ArrayRef<int64_t> values) const { return res; } +size_t AffineMap::numOfZeroResults() const { ---------------- dcaballe wrote: nit: `getNum...` https://github.com/llvm/llvm-project/pull/99015