diff options
author | Sergio Afonso <safonsof@amd.com> | 2023-08-18 14:37:12 +0100 |
---|---|---|
committer | Sergio Afonso <safonsof@amd.com> | 2023-09-01 17:09:25 +0100 |
commit | 0b8c636211b89ba721f060d30290e8a1992879b7 (patch) | |
tree | a2fb778ae26db15c8663226587da46297aa81fe6 /llvm/docs/CommandGuide | |
parent | 8eb34700c2b1847ec6dfb8f92b305b65278d2ec0 (diff) | |
download | llvm-0b8c636211b89ba721f060d30290e8a1992879b7.zip llvm-0b8c636211b89ba721f060d30290e8a1992879b7.tar.gz llvm-0b8c636211b89ba721f060d30290e8a1992879b7.tar.bz2 |
[MLIR] Move builtin.module LLVM IR translation to before nested operations
This patch moves the call for translating an MLIR module to LLVM IR to the
beginning of the translation process. This enables the use of dialect
attributes attached to `builtin.module` operations and the `amendOperation()`
flow to initialize dialect-specific global configuration before translating
the contents of the module.
Currently, this patch does not impact the generated IR on its own. Testing
infrastructure to allow translating the Test dialect to LLVM IR is added, so
that it can be checked that the current behavior is not broken in the future.
Differential Revision: https://reviews.llvm.org/D158278
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions