This commit adjusts SubViewOp lowering to take rank reduction into account.
Depends On D88879
Paths
| Differential D88883
[mlir] Rank reducing subview conversion to LLVM ClosedPublic Authored by limo1996 on Oct 6 2020, 2:57 AM.
Details Summary This commit adjusts SubViewOp lowering to take rank reduction into account. Depends On D88879
Diff Detail
Event TimelineComment Actions Thanks @limo1996 , let's also add a conversion to LLVM test somewhere around here: https://github.com/llvm/llvm-project/blob/master/mlir/test/Conversion/StandardToLLVM/convert-to-llvmir.mlir#L1222
This revision now requires changes to proceed.Oct 6 2020, 3:14 AM nicolasvasilache added inline comments.
This revision now requires changes to proceed.Oct 8 2020, 3:34 AM This revision is now accepted and ready to land.Oct 8 2020, 6:38 AM Closed by commit rGe547b1e2431f: [mlir] Rank reducing subview conversion to LLVM (authored by limo1996). · Explain WhyOct 8 2020, 6:48 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 296399 mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
mlir/integration_test/Dialect/Linalg/CPU/matmul-vs-matvec.mlir
mlir/integration_test/Dialect/Linalg/CPU/rank-reducing-subview.mlir
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
mlir/lib/Dialect/StandardOps/IR/Ops.cpp
|
The name of the function and the doc comment are quite misleading.
From this, I wouldn't know how to find this functionality in 1 month once this gets out of my short-term memory...
I'd suggest :
Feel free to further improve amd/or find a better name if one comes to mind.