llvm-project/mlir/tools
Martin Erhart edb77864ef [mlir][assemblyFormat] Fix bug when using AttrSizedOperandSegments trait with only non-buildable operand types
Summary:
When creating an operation with
* `AttrSizedOperandSegments` trait
* Variadic operands of only non-buildable types
* assemblyFormat to automatically generate the parser
the `builder` local variable is used, but never declared.
This adds a fix as well as a test for this case as existing ones use buildable types only.

Reviewers: rriddle, Kayjukh, grosser

Reviewed By: Kayjukh

Subscribers: mehdi_amini, jpienaar, shauheen, antiagainst, nicolasvasilache, arpith-jacob, mgester, lucyrfox, liufengdb, Joonsoo, grosul1, frgossen, llvm-commits

Tags: #mlir, #llvm

Differential Revision: https://reviews.llvm.org/D79004
2020-04-28 18:27:05 +02:00
..
mlir-cpu-runner [MLIR] Do not link mlir-cpu-runner with X86 libs 2020-03-11 11:35:59 -07:00
mlir-cuda-runner Fix all-reduce int tests by host-registering memrefs. 2020-03-23 11:48:13 +01:00
mlir-linalg-ods-gen [mlir][flang] use OpBuilder& instead of Builder* in <Op>::build methods 2020-04-28 10:42:08 +02:00
mlir-opt Providing buffer assignment for MLIR 2020-04-28 10:17:59 +02:00
mlir-shlib [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
mlir-tblgen [mlir][assemblyFormat] Fix bug when using AttrSizedOperandSegments trait with only non-buildable operand types 2020-04-28 18:27:05 +02:00
mlir-translate [mlir][IR] Manually register command line options for MLIRContext and AsmPrinter 2020-04-11 23:13:00 -07:00
mlir-vulkan-runner [mlir][vulkan-runner] Add support for integer types. 2020-04-22 19:42:39 +03:00
CMakeLists.txt [mlir][Linalg] Create a tool to generate named Linalg ops from a Tensor Comprehensions-like specification. 2020-04-10 13:59:25 -04:00