Inserting a tensor into an equivalent tensor is a no-op after bufferization. No alloc is needed.
Details
Details
Summary
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This revision is now accepted and ready to land.Sep 23 2022, 4:15 AM
Closed by commit rG6cdd34b9739a: [mlir][tensor][bufferize] Bufferize inserts into equivalent tensors in-place (authored by springerm). · Explain WhyOct 5 2022, 11:14 PM
This revision was automatically updated to reflect the committed changes.
springerm added a reverting change: D138745: [mlir][tensor][bufferize] Fix tensor.insert_slice regression.Nov 26 2022, 6:31 AM
springerm added a reverting change: rG13593dc9dc5a: [mlir][tensor][bufferize] Fix tensor.insert_slice regression.Nov 26 2022, 10:20 AM