This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] EmptyTensorElimination: Keep AnalysisState up to date
AcceptedPublic

Authored by springerm on Feb 6 2023, 7:40 AM.

Details

Summary

When EmptyTensorElimination eliminates a tensor.empty op, the given OneShotAnalysisState is updated accordingly. This makes is possible to reuse the same state object for One-Shot Bufferize (to address performance bottlenecks).

Depends On: D143379

Diff Detail