[LLVMdev] TableGen related question for the Hexagon backend

Jakob Stoklund Olesen stoklund at 2pi.dk
Fri Aug 3 11:10:34 PDT 2012


On Aug 3, 2012, at 10:11 AM, "Villmow, Micah" <Micah.Villmow at amd.com> wrote:

> [Villmow, Micah] Just curious as we have a similar approach for some code in our backed, but if the higher level source and the scripts to produce the intermediates were provided, would that be sufficiently acceptable to using generated td files?

No.

It's perfectly fine if the initial version of the td files are generated by a script, but td files in the LLVM tree need to be the primary source you work on going forward.

It think you would be better served by having a way of verifying the correctness of td files using your canonical architecture description. See for example Richard Barton's talk from the April developer meeting.

/jakob




More information about the llvm-dev mailing list