This avoids large source files and gives a better structure. It also
allows leveraging compilation parallelism.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Nice! Actually last Friday I was looking into seeing whether doing the same would be beneficial for SPIRVOps.cpp. Using -ftime-trace shows that it takes ~19 seconds to cleanly compile it. Most of that time ~13 is spent in the backend. So I guess parallelized compilation can be beneficial here as well. If you aren't planning to do that already, I can split it.
Yup! That is another large file that should be split into multiple smaller ones. Please feel free to take on it if you are interested! We can split according op categories, like we do with those td files. Or some other scheme that you'd like. Thanks a lot! :D
clang-tidy: warning: header guard does not follow preferred style [llvm-header-guard]
not useful