[mlir] Allow constructing a ValueRange from an ArrayRef<BlockArgument>
authorRiver Riddle <riddleriver@gmail.com>
Wed, 12 Feb 2020 17:46:21 +0000 (09:46 -0800)
committerRiver Riddle <riverriddle@google.com>
Wed, 12 Feb 2020 17:48:44 +0000 (09:48 -0800)
commitc832145960736a7d531d264dcba59967d38bfc81
treefbaef3041335333513e6dec54e8bd396925dbb71
parent26edb21c29cb3c40b29ab3cd9e926b0d329457d6
[mlir] Allow constructing a ValueRange from an ArrayRef<BlockArgument>

Summary: This was a missed case when ValueRange was originally added, and allows for constructing a ValueRange from the arguments of a block.

Differential Revision: https://reviews.llvm.org/D74363
mlir/include/mlir/IR/FunctionSupport.h
mlir/include/mlir/IR/OperationSupport.h
mlir/lib/Dialect/LoopOps/LoopOps.cpp
mlir/test/EDSC/builder-api-test.cpp