[llvm-dev] TableGen enhancements

Paul C. Anagnostopoulos via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 29 16:04:14 PDT 2020


It's interesting that you bring this up. I've seen a lot of TableGen error messages over the past couple of weeks and I don't recall being confused about any error or its location. I will give this a closer look.

I agree that syntactic enhancements aren't particularly exciting by themselves. I was wondering whether some new features coupled with new backends would pave the way for additional uses for TableGen in the area of code generation (or any other areas, for that matter).

At 8/29/2020 06:50 PM, Chris Lattner wrote:
>Instead of syntactic enhancements, I think it would be great to invest in the internal infrastructure in the implementation of TableGen.
>
>People frequently complain about the quality of error messages in TableGen.  One big reason for this is that we don’t track source locations very well in the “tablegen AST”.  I think that fixing that would be a really nice step towards upgrading the individual diagnostics.
>
>-Chris



More information about the llvm-dev mailing list