diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-01-21 19:37:18 -0500 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-01-21 19:37:54 -0500 |
commit | 89e19e8eddd6dd0dc38d595b6784fb9ce65d9972 (patch) | |
tree | 1f50a15ff7fea553e318fd88147410467a3c20f9 /clang/lib/Frontend | |
parent | e03ead6771fc97b11cb0c94b7f023142184ad25f (diff) | |
download | llvm-89e19e8eddd6dd0dc38d595b6784fb9ce65d9972.zip llvm-89e19e8eddd6dd0dc38d595b6784fb9ce65d9972.tar.gz llvm-89e19e8eddd6dd0dc38d595b6784fb9ce65d9972.tar.bz2 |
[mlir][Linalg] Add tensor support to Linalg EDSC Builders
Summary:
This diff extends the Linalg EDSC builders so we can easily create mixed
tensor/buffer linalg.generic ops. This is expected to be useful for
HLO -> Linalg lowering.
The `StructuredIndexed` struct is made to derive from `ValueHandle` and can
now capture a type + indexing expressions. This is used to represent return
tensors.
Pointwise unary and binary builders are extended to allow both output buffers
and return tensors. This has implications on the number of region arguments.
Reviewers: ftynse, herhut, hanchung, asaadaldien, stellaraccident
Reviewed By: asaadaldien
Subscribers: merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, aartbik, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D72863
Diffstat (limited to 'clang/lib/Frontend')
0 files changed, 0 insertions, 0 deletions