[cfe-dev] [llvm-dev] Does LLVM accept using python to generate files (*.td, *.inc) in compiler build process?
Zakk via cfe-dev
cfe-dev at lists.llvm.org
Sun Jan 3 22:47:43 PST 2021
Hi all,
In our downstream clang build process, we use python script to generate
Builtins*.td, *.BuiltinCodegen.inc and C header. (it's similar to
https://repo.hca.bsc.es/gitlab/rferrer/llvm-epi/-/blob/EPI/clang/include/clang/Basic/CMakeLists.txt#L97-110
)
It's a different way like ARM did (create a new option in clang-tblgen (C++
code) and generate corresponding files.)
We are planning to upstream this part and wondering if it's necessary to
rewrite generator with C++ code.
--
Best regards,
Kuan-Hsu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20210104/ed1c2565/attachment.html>
More information about the cfe-dev
mailing list