HomePhabricator

[mlir][ODS] Fix copy ctor for generate Pass classes

Authored by vinograd47 on Jun 15 2021, 8:09 AM.

Description

[mlir][ODS] Fix copy ctor for generate Pass classes

Redirect the copy ctor to the actual class instead of
overwriting it with TypeID based ctor.

This allows the final Pass classes to have extra fields and logic for their copy.

Reviewed By: lattner

Differential Revision: https://reviews.llvm.org/D104302

Details

Committed
vinograd47Jun 21 2021, 4:07 AM
Reviewer
lattner
Differential Revision
D104302: [mlir][ODS] Fix copy ctor for generate Pass classes
Parents
rGb650778dc4ac: [NFC] Wrap entire assert-only block in LLVM_DEBUG
Branches
Unknown
Tags
Unknown