[Mlir-commits] [mlir] 076e238 - [mlir][IR] SingleBlockImplicitTerminator derives from TraitBase (#66189)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Wed Sep 13 04:34:54 PDT 2023
Author: Matthias Springer
Date: 2023-09-13T13:34:50+02:00
New Revision: 076e238c2c1b1b342335253bb6435ec3affcffee
URL: https://github.com/llvm/llvm-project/commit/076e238c2c1b1b342335253bb6435ec3affcffee
DIFF: https://github.com/llvm/llvm-project/commit/076e238c2c1b1b342335253bb6435ec3affcffee.diff
LOG: [mlir][IR] SingleBlockImplicitTerminator derives from TraitBase (#66189)
This was an oversight in 0ac21e654f194a0f7c9f5afe42e11924c546f89e.
Added:
Modified:
mlir/include/mlir/IR/OpDefinition.h
Removed:
################################################################################
diff --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h
index 895f17dfe1d07c8..e00f1ebd1fb2678 100644
--- a/mlir/include/mlir/IR/OpDefinition.h
+++ b/mlir/include/mlir/IR/OpDefinition.h
@@ -944,7 +944,8 @@ struct SingleBlock : public TraitBase<ConcreteType, SingleBlock> {
template <typename TerminatorOpType>
struct SingleBlockImplicitTerminator {
template <typename ConcreteType>
- class Impl {
+ class Impl : public TraitBase<ConcreteType, SingleBlockImplicitTerminator<
+ TerminatorOpType>::Impl> {
private:
/// Builds a terminator operation without relying on OpBuilder APIs to avoid
/// cyclic header inclusion.
More information about the Mlir-commits
mailing list