This is an archive of the discontinued LLVM Phabricator instance.

Clarify the invariant of the MLIR pass pipeline around `Pass::initialize()`
ClosedPublic

Authored by mehdi_amini on Aug 5 2023, 3:05 PM.

Details

Summary

This method should not load new dialect or affect the context itself.

Diff Detail

Event Timeline

mehdi_amini created this revision.Aug 5 2023, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 5 2023, 3:05 PM
mehdi_amini requested review of this revision.Aug 5 2023, 3:05 PM
rriddle accepted this revision.Aug 7 2023, 6:36 PM
rriddle added inline comments.
mlir/include/mlir/Pass/Pass.h
185

Typo here geD

This revision is now accepted and ready to land.Aug 7 2023, 6:36 PM
bondhugula added inline comments.
mlir/lib/Pass/Pass.cpp
823

Nit: bookkeeping

mehdi_amini marked 2 inline comments as done.Aug 7 2023, 7:01 PM