diff options
author | Alex Zinenko <zinenko@google.com> | 2022-07-07 15:55:23 +0200 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2022-07-12 09:07:59 +0000 |
commit | 00d1a1a25fbbfd1fdc43f31194378423a707c738 (patch) | |
tree | 269bac8965340cea94fca39df885cb1455ba4572 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | d4c53202ebb6a61153f9aa39276f9b0d45f3720a (diff) | |
download | llvm-00d1a1a25fbbfd1fdc43f31194378423a707c738.zip llvm-00d1a1a25fbbfd1fdc43f31194378423a707c738.tar.gz llvm-00d1a1a25fbbfd1fdc43f31194378423a707c738.tar.bz2 |
[mlir] Add ReplicateOp to the Transform dialect
This handle manipulation operation allows one to define a new handle that is
associated with a the same payload IR operations N times, where N can be driven
by the size of payload IR operation list associated with another handle. This
can be seen as a sort of broadcast that can be used to ensure the lists
associated with two handles have equal numbers of payload IR ops as expected by
many pairwise transform operations.
Introduce an additional "expensive" check that guards against consuming a
handle that is assocaited with the same payload IR operation more than once as
this is likely to lead to double-free or other undesired effects.
Depends On D129110
Reviewed By: nicolasvasilache
Differential Revision: https://reviews.llvm.org/D129216
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions