aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2022-09-20 17:31:16 -0400
committerLei Zhang <antiagainst@google.com>2022-09-20 17:31:22 -0400
commitc325e978b529e7e899a31cd2693fbc1a676afcf0 (patch)
treeb8226573178891f23629b63032969bf7b7c77156 /clang/lib/Serialization/ModuleManager.cpp
parentf5253058144aca1e9fcacdca53accdc975e804cf (diff)
downloadllvm-c325e978b529e7e899a31cd2693fbc1a676afcf0.zip
llvm-c325e978b529e7e899a31cd2693fbc1a676afcf0.tar.gz
llvm-c325e978b529e7e899a31cd2693fbc1a676afcf0.tar.bz2
[mlir][linalg] Swap tensor.extract_slice(linalg.fill)
This commit adds a pattern to swap ``` tensor.extract_slice(linalg.fill(%cst, %init)) ``` into ``` linalg.fill(%cst, tensor.extract_slice(%init)) ``` when the linalg.fill op have no other users. This helps to reduce the fill footprint. Reviewed By: mravishankar Differential Revision: https://reviews.llvm.org/D134102
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions