aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorLorenzo Chelini <l.chelini@icloud.com>2023-01-31 14:25:14 +0100
committerLorenzo Chelini <l.chelini@icloud.com>2023-02-01 09:11:28 +0100
commit6bb0ab0de039ddbcc70eafc549b50da7867fb617 (patch)
treee9de50376ae4e3248db4fdacda62e0bf8d0f5fa7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent95e49f5a74c9e79778a62cc58b15875613cf9e59 (diff)
downloadllvm-6bb0ab0de039ddbcc70eafc549b50da7867fb617.zip
llvm-6bb0ab0de039ddbcc70eafc549b50da7867fb617.tar.gz
llvm-6bb0ab0de039ddbcc70eafc549b50da7867fb617.tar.bz2
[MLIR] Propagate unpack through element-wise ops
Introduce `pushDownUnPackOpThroughElemGenericOp` to propagate producer unpack operation through an element-wise linalg.generic operation. This pattern complements `BubbleUpPackOpThroughElemGenericOp`. The general idea is to bubble up tensor.pack as much as possible while pushing down tensor.unpack as much as possible, and canonicalize away symmetrical tensor.pack and tensor.unpack operations. Currently, `pushDownUnPackOpThroughElemGenericOp` expects a single tensor.unpack operation as the producer of one of the linalg.generic's operands. Reviewed By: hanchung Differential Revision: https://reviews.llvm.org/D142523
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions