diff options
author | Andrey Timonin <timonina1909@gmail.com> | 2025-08-15 19:32:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-15 18:32:12 +0200 |
commit | dfa1335db1fe5e884207b0be375c038c61129a62 (patch) | |
tree | b77cf7174f31253d9743dc1db90b5b5549d01a86 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp | |
parent | 0e9b6d6c8a111e214a3907fe97ccadf8f438d854 (diff) | |
download | llvm-dfa1335db1fe5e884207b0be375c038c61129a62.zip llvm-dfa1335db1fe5e884207b0be375c038c61129a62.tar.gz llvm-dfa1335db1fe5e884207b0be375c038c61129a62.tar.bz2 |
[mlir][emitc] Add verification for the emitc.get_field op (#152577)
This MR adds a `verifier` for the `emitc.get_field` op.
- The `verifier` checks that the `emitc.get_field` operation is nested
inside an `emitc.class` op.
- Additionally, appropriate tests for erroneous cases were added for
class-related operations in `invalid_ops.mlir`.
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions