[PATCH] D74683: [mlir] Add a utility iterator range that repeats a given value `n` times.

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 22:00:36 PST 2020


mehdi_amini added inline comments.


================
Comment at: mlir/include/mlir/Support/STLExtras.h:358
+template <typename ValueTy>
+RepeatRange<ValueTy> make_repeat_range(const ValueTy &value, size_t n) {
+  return RepeatRange<ValueTy>(value, n);
----------------
You're the native speaker, but I would have expected to read `make_repeated_range`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74683/new/

https://reviews.llvm.org/D74683





More information about the llvm-commits mailing list