diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-03-28 14:10:26 +0200 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-03-29 23:05:54 +0200 |
commit | 35dab904c09b58f061c303b40b394c909ba84db6 (patch) | |
tree | 7968d9fceba0135a4d9b0b99c0dfdda545f3ce34 /clang/lib/ExtractAPI/API.cpp | |
parent | a8ebd85e463b086c0e684c9e7867bbf42555ad27 (diff) | |
download | llvm-35dab904c09b58f061c303b40b394c909ba84db6.zip llvm-35dab904c09b58f061c303b40b394c909ba84db6.tar.gz llvm-35dab904c09b58f061c303b40b394c909ba84db6.tar.bz2 |
[linalg] When removing noop linalg.generics, check that inserting a cast is valid
linalg.generic can also take scalars instead of tensors, which
tensor.cast doesn't support. We don't have an easy way to cast between
scalars and tensors so just keep the linalg.generic in those cases.
Differential Revision: https://reviews.llvm.org/D122575
Diffstat (limited to 'clang/lib/ExtractAPI/API.cpp')
0 files changed, 0 insertions, 0 deletions