This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][bufferize][NFC] Merge bufferizableInPlaceAnalysis overloads
AbandonedPublic

Authored by springerm on Oct 1 2021, 3:59 AM.

Details

Reviewers
nicolasvasilache
Summary

Depends On D110916

Event Timeline

springerm created this revision.Oct 1 2021, 3:59 AM
springerm requested review of this revision.Oct 1 2021, 3:59 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 1 2021, 3:59 AM

I used to have something similar with a single function here but found it counterintuitive.
I am on the fence about this change: on one hand code removal is always welcome, OTOH the branching inside the function is tricky.

mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
2394

bool isExtractSliceOp = isa<..> and reuse this ?