aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests
diff options
context:
space:
mode:
authorOleksandr "Alex" Zinenko <zinenko@google.com>2023-12-19 14:18:16 +0100
committerGitHub <noreply@github.com>2023-12-19 14:18:16 +0100
commit9519e3ecbf6ed251c5ab7c74549fe86df1efc14c (patch)
treef1c49c69c3855a3e76692c4a9b67584a3ed5c4ef /llvm/unittests
parent133de6c1510b15108f729f0d981d45cb7e936b85 (diff)
downloadllvm-9519e3ecbf6ed251c5ab7c74549fe86df1efc14c.zip
llvm-9519e3ecbf6ed251c5ab7c74549fe86df1efc14c.tar.gz
llvm-9519e3ecbf6ed251c5ab7c74549fe86df1efc14c.tar.bz2
[mlir] support dialect attribute translation to LLVM IR (#75309)
Extend the `amendOperation` mechanism for translating dialect attributes attached to operations from another dialect when translating MLIR to LLVM IR. Previously, this mechanism would have no knowledge of the LLVM IR instructions created for the given operation, making it impossible for it to perform local modifications such as attaching operation-level metadata. Collect instructions inserted by the LLVM IR builder and pass them to `amendOperation`.
Diffstat (limited to 'llvm/unittests')
0 files changed, 0 insertions, 0 deletions