aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorHanhan Wang <hanchung@google.com>2022-11-23 10:46:46 -0800
committerHanhan Wang <hanchung@google.com>2022-11-23 10:47:10 -0800
commit6eee66d12ab33f35a37a1514342b51ae93d175e8 (patch)
treefbdf6106b74c440afb8a09c3faf1f6623e0270b8 /llvm/lib/Transforms
parent2cea4c239570c37f46ad0003b3d41d9473aca60f (diff)
downloadllvm-6eee66d12ab33f35a37a1514342b51ae93d175e8.zip
llvm-6eee66d12ab33f35a37a1514342b51ae93d175e8.tar.gz
llvm-6eee66d12ab33f35a37a1514342b51ae93d175e8.tar.bz2
[mlir][linalg] Add a new pattern to handle folding unit reduction dims.
The output operands will be added to input operands if the generic op (on tensors) becomes an elementwise operation. The outputs of the generic op is still the same. They will be cleaned up by ReplaceWithEmptyTensorIfUnused pattern. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D138251
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions