[LLVMdev] Tablegen question

Dan Gohman gohman at apple.com
Mon Jun 8 12:07:50 PDT 2009


On Jun 8, 2009, at 9:58 AM, Manjunath Kudlur wrote:
>
> Now, I can write a tablegen backend that can output a opcode->opcode
> map, which can be used by the pass. Is this and intended use case for
> Tablegen? Or, are tablegen backends supposed to be generic to all
> architecture backends?

In general, it's a design goal to structure CodeGen features as
target-independent code parameterized with target-specific data.
The degree to which this goal is met in LLVM CodeGen features today
varies, but features that have been implemented using TableGen have
been relatively successful.

Dan




More information about the llvm-dev mailing list