[LLVMdev] New Configure Option for LLVM Builds

Justin Holewinski justin.holewinski at gmail.com
Mon Jun 20 10:42:56 PDT 2011


On Jun 20, 2011, at 1:08 PM, Jakob Stoklund Olesen wrote:

> 
> On Jun 20, 2011, at 8:53 AM, Justin Holewinski wrote:
> 
>> However, as far as I know, LLVM requires static register data that is generated from tablegen files.
> 
> TableGen is not required, you can provide your own TargetRegisterInfo sub-class. That's a lot of work, though, and I wouldn't recommend it.

That's an interesting idea.  Since the PTX register file is fairly simple (no overlapping, etc.), the generated register info does not seem too complicated.

My main concern would be if the register description structures change, which would require manual changes to the PTX back-end instead of just relying on TableGen being updated to use the new format.

> 
> /jakob
> 

Thanks,

Justin Holewinski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110620/914ea0c1/attachment.html>


More information about the llvm-dev mailing list