diff options
author | Matthias Springer <springerm@google.com> | 2022-11-02 12:36:54 +0100 |
---|---|---|
committer | Matthias Springer <springerm@google.com> | 2022-11-02 14:05:48 +0100 |
commit | 534638eae31a51eca76de8b829b81e6c1fee083b (patch) | |
tree | 7f52200cea4c243c509d26f5e4d005ebe901c202 /llvm/lib/Transforms/Utils/LoopUtils.cpp | |
parent | dd927f47e78bfdd89b62d5ef1ccd4b0a9b05386f (diff) | |
download | llvm-534638eae31a51eca76de8b829b81e6c1fee083b.zip llvm-534638eae31a51eca76de8b829b81e6c1fee083b.tar.gz llvm-534638eae31a51eca76de8b829b81e6c1fee083b.tar.bz2 |
[mlir][linalg] Fix crash in canonicalization pattern
This crash was due to incorrect usage of `hasTensorSemantics`, which has changed recently with DestinationStyleOpInterface. An op has tensor semantics if all of its inits and inputs are tensors. Previously, only inits needed to be tensors.
Differential Revision: https://reviews.llvm.org/D137243
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions