diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-08-06 09:00:38 -0400 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-08-07 06:17:48 -0400 |
commit | 3f906c54a2def26ba0c407a309c7c30ce0e0cc83 (patch) | |
tree | 725cff62dd2acdbc7f8159783001bcf3331fb493 /lldb/packages/Python/lldbsuite/test/bench.py | |
parent | da9e7b1ab03be92b0c3060cf149ab882d61e634f (diff) | |
download | llvm-3f906c54a2def26ba0c407a309c7c30ce0e0cc83.zip llvm-3f906c54a2def26ba0c407a309c7c30ce0e0cc83.tar.gz llvm-3f906c54a2def26ba0c407a309c7c30ce0e0cc83.tar.bz2 |
[mlir][Vector] Add 2-D vector contract lowering to ReduceOp
This new pattern mixes vector.transpose and direct lowering to vector.reduce.
This allows more progressive lowering than immediately going to insert/extract and
composes more nicely with other canonicalizations.
This has 2 use cases:
1. for very wide vectors the generated IR may be much smaller
2. when we have a custom lowering for transpose ops we can target it directly
rather than rely LLVM
Differential Revision: https://reviews.llvm.org/D85428
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/bench.py')
0 files changed, 0 insertions, 0 deletions