llvm-project/mlir/test
Lei Zhang 18fde7c9d8 [TableGen] Support multiple result patterns
This CL added the ability to generate multiple ops using multiple result
patterns, with each of them replacing one result of the matched source op.

Specifically, the syntax is

```
def : Pattern<(SourceOp ...),
              [(ResultOp1 ...), (ResultOp2 ...), (ResultOp3 ...)]>;
```

Assuming `SourceOp` has three results.

Currently we require that each result op must generate one result, which
can be lifted later when use cases arise.

To help with cases that certain output is unused and we don't care about it,
this CL also introduces a new directive: `verifyUnusedValue`. Checks will
be emitted in the `match()` method to make sure if the corresponding output
is not unused, `match()` returns with `matchFailure()`.

PiperOrigin-RevId: 237513904
2019-03-29 17:07:50 -07:00
..
AffineOps Add support for parsing and printing affine.if and affine.for attributes. The attribute dictionaries are printed after the final block list for both operations: 2019-03-29 16:52:19 -07:00
Dialect Add binary broadcastable builder. 2019-03-29 16:23:38 -07:00
EDSC Fix an incorrect comment in builder-api-test. 2019-03-29 17:03:00 -07:00
IR Introduce the notion of dialect attributes and dependent attributes. A dialect attribute derives its context from a specific dialect, whereas a dependent attribute derives context from what it is attached to. Following this, we now enforce that functions and function arguments may only contain dialect specific attributes. These are generic entities and cannot provide any specific context for a dependent attribute. 2019-03-29 16:55:05 -07:00
LLVMIR More graceful failure when verifying llvm.noalias. 2019-03-29 17:01:56 -07:00
Target Using llvm.noalias attribute when generating LLVMIR. 2019-03-29 17:01:11 -07:00
Transforms Add a basic model to set tile sizes + some cleanup 2019-03-29 17:06:51 -07:00
mlir-cpu-runner ExecutionEngine OptUtils: support -On flags in string-based initialization 2019-03-29 16:49:44 -07:00
mlir-tblgen [TableGen] Support multiple result patterns 2019-03-29 17:07:50 -07:00