diff options
| author | aartbik <ajcbik@google.com> | 2020-01-31 10:56:22 -0800 |
|---|---|---|
| committer | aartbik <ajcbik@google.com> | 2020-01-31 11:29:46 -0800 |
| commit | c8fc76a99b308973b68766a81e68277b57ee1864 (patch) | |
| tree | 81aa6a9b7dc31b14594d04fe8b72ca6c7bd5f80e /llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp | |
| parent | 73713f3e5ef2ecf1e5afafa89f76ab89cc06b18e (diff) | |
| download | llvm-c8fc76a99b308973b68766a81e68277b57ee1864.zip llvm-c8fc76a99b308973b68766a81e68277b57ee1864.tar.gz llvm-c8fc76a99b308973b68766a81e68277b57ee1864.tar.bz2 | |
[mlir] [VectorOps] fixed bug in vector.insert_strided_slice lowering
Summary:
Rationale:
When lowering to LLVM for different rank insert (n vs k), the offset
arrays needs to drop one dimension (becomes n-1), but the strides
array needs to be preserved (remains k). With regression test.
Note that this example was actually in the documentation, so
extra important to do it right :-)
Reviewers: nicolasvasilache, andydavis1, ftynse
Reviewed By: nicolasvasilache, ftynse
Subscribers: Joonsoo, merge_guards_bot, mehdi_amini, rriddle, jpienaar, burmako, shauheen, antiagainst, arpith-jacob, mgester, lucyrfox, liufengdb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73733
Diffstat (limited to 'llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
