3 ms·
In this case, the speedup would probably be during LLVM's build itself: that's when TableGen inputs are parsed as part of codegen for big blobs of C++. Improvem
by woodruffw 5y ago
In this case, the speedup would probably be during LLVM's build itself: that's when TableGen inputs are parsed as part of codegen for big blobs of C++. Improvements to lexing speed here could actually produce some build time improvements, since TableGen's outputs tend to have a high dependent degree in the dependency graph.
(That being said, I have no idea if LLVM would merge a TableGen lexer written in Go.)
- mhh__ 5y agoThe question prior to any of that is how many lines of tablegen LLVM has According to a cloc definition I just did: LLVM Table Gen files: 1041 blank: 75684 comment: 69272 code: 480047 Probably enough to warrant a faster lexer.