[mlir] Add a utility iterator range that repeats a given value `n` times.
This range is useful when an desired API expects a range or when comparing two different ranges for equality, but the underlying data is a splat. This range removes the need to explicitly construct a vector in those cases. Differential Revision: https://reviews.llvm.org/D74683
Loading
Please sign in to comment