This avoids large source files and gives a better structure. It also
allows leveraging compilation parallelism.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
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.
Comment Actions
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