[mlir] Take ValueRange instead of ArrayRef<Value> in StructuredIndexed
authorAlex Zinenko <zinenko@google.com>
Fri, 4 Sep 2020 08:00:52 +0000 (10:00 +0200)
committerAlex Zinenko <zinenko@google.com>
Mon, 7 Sep 2020 13:17:39 +0000 (15:17 +0200)
commit1e1a4a481987f77fe3e6debc015c1d07af249258
tree5e0340431e287c4e03eacf75ee16c8aa39f2b9ff
parenta5046f7acece0085cb6f457da7ebca34d267155a
[mlir] Take ValueRange instead of ArrayRef<Value> in StructuredIndexed

This was likely overlooked when ValueRange was first introduced. There is no
reason why StructuredIndexed needs specifically an ArrayRef so use ValueRange
for better type compatibility with the rest of the APIs.

Reviewed By: nicolasvasilache, mehdi_amini

Differential Revision: https://reviews.llvm.org/D87127
mlir/include/mlir/EDSC/Builders.h