When the source tensor of a tensor.insert_slice is not equivalent to an inplace buffer an extra copy is necessary. This revision adds the missing copy.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D106587
[mlir][Linalg] Fix a missing copy when source of insert_slice is not inplace. ClosedPublic Authored by nicolasvasilache on Jul 22 2021, 1:02 PM.
Details Summary When the source tensor of a tensor.insert_slice is not equivalent to an inplace buffer an extra copy is necessary. This revision adds the missing copy.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, mravishankar and 17 others. · View Herald TranscriptJul 22 2021, 1:02 PM This revision is now accepted and ready to land.Jul 23 2021, 12:11 AM Closed by commit rG06d2fb55ca75: [mlir][Linalg] Fix a missing copy when source of insert_slice is not inplace. (authored by nicolasvasilache, committed by gysit). · Explain WhyJul 23 2021, 12:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 361113 mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir
|