mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 11:38:04 +08:00
In the `lowerPack` transform, there is a special case for lowering into a simple `tensor.pad` + `tensor.insert_slice`, but the destination becomes a newly created `tensor.empty`. This PR fixes the transform to reuse the original destination of the `tensor.pack`.
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.