diff options
author | MaheshRavishankar <ravishankarm@google.com> | 2020-04-14 11:54:15 -0700 |
---|---|---|
committer | MaheshRavishankar <ravishankarm@google.com> | 2020-04-14 14:41:20 -0700 |
commit | 37b520763fd9a51c94c446108907f48d04b7cab1 (patch) | |
tree | 9407d5afa4c5ee297d50a7a228104966bcdf956e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 91c8c74180ced4b82da02f2544f3978f72003d37 (diff) | |
download | llvm-37b520763fd9a51c94c446108907f48d04b7cab1.zip llvm-37b520763fd9a51c94c446108907f48d04b7cab1.tar.gz llvm-37b520763fd9a51c94c446108907f48d04b7cab1.tar.bz2 |
[mlir][Linalg] Handle null affine map returns from inversePermutation.
The inversePermutation method returns a null map on failure. Update
uses of this method within Linalg to handle this. In LinalgToLoops the
null return value was used to emit scalar code. Modify that to return
failure, and emit scalar implementation when affine map is "empty",
i.e. 1 dims, 0 symbols and no result exprs.
Differential Revision: https://reviews.llvm.org/D77964
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions