This is an archive of the discontinued LLVM Phabricator instance.

[mlir][func] refactor namespace to support passing options to passes
AbandonedPublic

Authored by c-rhodes on May 18 2023, 11:23 PM.

Diff Detail

Event Timeline

c-rhodes created this revision.May 18 2023, 11:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 18 2023, 11:23 PM
c-rhodes requested review of this revision.May 18 2023, 11:23 PM

Thank you :)

I am wondering whether this is really required. Looking at Bufferization/Transforms/Passes.h and then Bufferization/Transforms/Passes.td, which also defines some pass options, right? It doesn't look that different to what you are trying to do for https://reviews.llvm.org/D150934.

If this is indeed required, I'd merge this change https://reviews.llvm.org/D150934. In isolation the rationale is less clear.

c-rhodes abandoned this revision.May 19 2023, 8:09 AM

Thank you :)

I am wondering whether this is really required. Looking at Bufferization/Transforms/Passes.h and then Bufferization/Transforms/Passes.td, which also defines some pass options, right? It doesn't look that different to what you are trying to do for https://reviews.llvm.org/D150934.

If this is indeed required, I'd merge this change https://reviews.llvm.org/D150934. In isolation the rationale is less clear.

Thanks for the pointer, this patch isn't necessary when following how it's done there, abandoning this and updating the pass, cheers!

Matt added a subscriber: Matt.May 19 2023, 8:24 AM