diff options
author | Matthias Springer <me@m-sp.org> | 2023-08-30 15:05:29 +0200 |
---|---|---|
committer | Matthias Springer <me@m-sp.org> | 2023-08-30 15:26:47 +0200 |
commit | 0ac21e654f194a0f7c9f5afe42e11924c546f89e (patch) | |
tree | 7a0dfbcb06d9dd92bce54585e0ae38da283a2ab6 /llvm/lib/TextAPI/InterfaceFile.cpp | |
parent | eb27be95a4c648707ad93e48049b3d463260a747 (diff) | |
download | llvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.zip llvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.tar.gz llvm-0ac21e654f194a0f7c9f5afe42e11924c546f89e.tar.bz2 |
[mlir][IR] SingleBlockImplicitTerminator: Declare "inherited" trait in ODS instead of C++
`SingleBlockImplicitTerminator` is now a combination of two traits: `SingleBlock` and `SingleBlockImplicitTerminatorImpl` (the original `SingleBlockImplicitTerminator`).
This change makes it possible to check if the `SingleBlock` op trait is implemented. Until now, `Operation::hasTrait<OpTrait::SingleBlock>()` returned `false` for ops that implement `SingleBlockImplicitTerminator`.
Differential Revision: https://reviews.llvm.org/D159078
Diffstat (limited to 'llvm/lib/TextAPI/InterfaceFile.cpp')
0 files changed, 0 insertions, 0 deletions