diff options
author | Ivan Butygin <ivan.butygin@gmail.com> | 2025-07-29 12:21:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-29 13:21:52 +0300 |
commit | ace42cf063a52d097f505b7d9afeb53d02bc04db (patch) | |
tree | 15f2fd69c27e375a9ef3203253e4dd45df7cbe27 /clang/test/Modules/ModuleModuleDebugInfo.cpp | |
parent | 76bebb5be9daf9ca035777b17fa63d4ce13e79b9 (diff) | |
download | llvm-ace42cf063a52d097f505b7d9afeb53d02bc04db.zip llvm-ace42cf063a52d097f505b7d9afeb53d02bc04db.tar.gz llvm-ace42cf063a52d097f505b7d9afeb53d02bc04db.tar.bz2 |
[mlir][core] Move `InitAll***` implementation into static library. (#150805)
`InitAll***` functions are used by `opt`-style tools to init all MLIR
dialects/passes/extensions. Currently they are implemeted as inline
functions and include essentially the entire MLIR header tree. Each file
which includes this header (~10 currently) takes 10+ sec and multiple GB
of ram to compile (tested with clang-19), which limits amount of
parallel compiler jobs which can be run. Also, flang just includes this
file into one of its headers.
Move the actual registration code to the static library, so it's
compiled only once.
Discourse thread
https://discourse.llvm.org/t/rfc-moving-initall-implementation-into-static-library/87559
Diffstat (limited to 'clang/test/Modules/ModuleModuleDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions