[llvm-dev] Extending TableGen's 'foreach' to work with 'multiclass' and 'defm'

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Wed Aug 23 11:05:03 PDT 2017


On 8/23/2017 12:44 PM, David Chisnall wrote:
> I’d be very much opposed to Python because:
> 
>   - It’s a large external dependency for the build (there’s no chance of FreeBSD shipping Python in the base system, for example, so we’d have to import the Python-generated files on each import, which would be annoying)

This isn't really specific to replacing TableGen with Python, as much as 
it is a concern against using Python altogether.  The original idea here 
was to add it as an extra tool to aid with the processing of .td files.

I'm guessing that the annoyance would come from the fact that bypassing 
TableGen, and using the pre-existing .inc files is not well supported by 
the build process.  What if this was made easier?

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list