[all-commits] [llvm/llvm-project] 628e13: [mlir][ODS] Fix copy ctor for generate Pass classes
Vladislav Vinogradov via All-commits
all-commits at lists.llvm.org
Mon Jun 21 04:07:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 628e136738823c3f69f4d0fb406c78f017009d1e
https://github.com/llvm/llvm-project/commit/628e136738823c3f69f4d0fb406c78f017009d1e
Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M mlir/include/mlir/Pass/Pass.h
M mlir/tools/mlir-tblgen/PassGen.cpp
M mlir/unittests/TableGen/CMakeLists.txt
A mlir/unittests/TableGen/PassGenTest.cpp
A mlir/unittests/TableGen/passes.td
Log Message:
-----------
[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
More information about the All-commits
mailing list