llvm-project/mlir/unittests
River Riddle 24ad385884 [mlir][DenseElementsAttr] Add support for opaque APFloat/APInt complex values.
This revision allows for creating DenseElementsAttrs and accessing elements using std::complex<APInt>/std::complex<APFloat>. This allows for opaquely accessing and transforming complex values. This is used by the printer/parser to provide pretty printing for complex values. The form for complex values matches that of std::complex, i.e.:

```
// `(` element `,` element `)`
dense<(10,10)> : tensor<complex<i64>>
```

Differential Revision: https://reviews.llvm.org/D79296
2020-05-05 12:42:37 -07:00
..
Dialect [mlir][flang] use OpBuilder& instead of Builder* in <Op>::build methods 2020-04-28 10:42:08 +02:00
IR [mlir][DenseElementsAttr] Add support for opaque APFloat/APInt complex values. 2020-05-05 12:42:37 -07:00
Pass Revert "[MLIR] Move from using target_link_libraries to LINK_LIBS for llvm libraries." 2020-02-29 11:52:08 -08:00
SDBM [mlir] Remove need for static global ctors from mlir-translate 2020-04-08 16:52:33 -06:00
TableGen Support OptionalAttr inside a StructAttr 2020-02-19 12:47:04 +00:00
CMakeLists.txt [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00