aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Sema/SemaModule.cpp
diff options
context:
space:
mode:
authorLei Zhang <antiagainst@google.com>2022-10-08 00:43:27 +0000
committerLei Zhang <antiagainst@google.com>2022-10-08 00:43:45 +0000
commitf0c93fd4cac76d9ae1b2ff99c40c08abeb940f21 (patch)
tree35ce1ea7c660957dfd9d72ad16900de0689e18c9 /clang/lib/Sema/SemaModule.cpp
parentf749b2d9a58b031271ec92afbef726112b34705a (diff)
downloadllvm-f0c93fd4cac76d9ae1b2ff99c40c08abeb940f21.zip
llvm-f0c93fd4cac76d9ae1b2ff99c40c08abeb940f21.tar.gz
llvm-f0c93fd4cac76d9ae1b2ff99c40c08abeb940f21.tar.bz2
[mlir][vector] Merge accumulator/result transpose into contract
This commit adds a pattern to merge accumulator and result `vector.transpose` ops into `vector.contract`. This kind of pattern can be generated for NCHW convolution vectorization, where we use transposes to convert the 1-D NCW convolution into NWC during vectorization. Merging the transpose would mean we can avoid materialize vector extract/insert for transposes and it makes further vector level transformations easier. Reviewed By: ThomasRaoux Differential Revision: https://reviews.llvm.org/D135496
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions