summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/CompressionTest.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <ntv@google.com>2019-12-31 09:28:18 -0500
committerNicolas Vasilache <ntv@google.com>2020-01-02 13:54:57 -0500
commit2140a973f272969b5391532f3c0b7c90aafd803b (patch)
tree5459c67a91dfa71b31f6d158a9c79dbfb9bc2ee3 /llvm/unittests/Support/CompressionTest.cpp
parent9d49e5c0876f7cf75ce0b5d8b3c8473300eb096a (diff)
downloadbcm5719-llvm-2140a973f272969b5391532f3c0b7c90aafd803b.tar.gz
bcm5719-llvm-2140a973f272969b5391532f3c0b7c90aafd803b.zip
[mlir][Linalg] Extend generic ops to allow tensors
Summary: This diff adds support to allow `linalg.generic` and `linalg.indexed_generic` to take tensor input and output arguments. The subset of output tensor operand types must appear verbatim in the result types after an arrow. The parser, printer and verifier are extended to accomodate this behavior. The Linalg operations now support variadic ranked tensor return values. This extension exhibited issues with the current handling of NativeCall in RewriterGen.cpp. As a consequence, an explicit cast to `SmallVector<Value, 4>` is added in the proper place to support the new behavior (better suggestions are welcome). Relevant cleanups and name uniformization are applied. Relevant invalid and roundtrip test are added. Reviewers: mehdi_amini, rriddle, jpienaar, antiagainst, ftynse Subscribers: burmako, shauheen, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D72022
Diffstat (limited to 'llvm/unittests/Support/CompressionTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud