diff options
author | Maya Amrami <maya.amrami@mobileye.com> | 2023-03-09 13:51:27 +0200 |
---|---|---|
committer | Maya Amrami <mayaam88@gmail.com> | 2023-03-21 17:01:08 +0200 |
commit | fd004a4986eb3ecc14f03a4ff4eef9bc06c78059 (patch) | |
tree | 23d7e7c9acfb917c579bc100cd96ce30f1c59eb0 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | fb409a2822df90e3c63d5e674966f18c8638cdaf (diff) | |
download | llvm-fd004a4986eb3ecc14f03a4ff4eef9bc06c78059.zip llvm-fd004a4986eb3ecc14f03a4ff4eef9bc06c78059.tar.gz llvm-fd004a4986eb3ecc14f03a4ff4eef9bc06c78059.tar.bz2 |
[mlir] tosa.concat - Add InferTensorType interface
When this interface is used, a call to inferReturnTypeComponents()
is generated on creation and verification of the op.
A few changes were required in inferReturnTypeComponents():
- Emit error when it fails.
The verifier calls this method now, and it is preferable to
indicate what caused the failure.
- Fix the inferred return shapes so they have a type too.
Reviewed By: rsuderman
Differential Revision: https://reviews.llvm.org/D146132
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions