Hello everyone! Could somebody advice me, how can I run llvm-tblgen to get MyTargetGenRegisterInfo.inc file to include in MyTargerRegisterInfo.h ? Unfortunately, I haven't found this information in "Writing an LLVM Compiler Backend" and "TableGen Fundamentals". -- Regards, Vadim. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130210/c352fa06/attachment.html>
Hi Vadim, On Sun, Feb 10, 2013 at 4:26 PM, Vadim Khoptynets <vadya.poiuj at gmail.com> wrote:> Could somebody advice me, how can I run llvm-tblgen to get > MyTargetGenRegisterInfo.inc file to include in MyTargerRegisterInfo.h ?You add it to CMakeLists.txt and/or Makefile in lib/MyTarget with the rest of your files. You should be able to see what commands are needed from any of the other targets. Tim.