<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I don't think there is no C-style conditional include in tablegen. Maybe you can do what you want by defining a file scope Predicates?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div>







<div class="gmail_extra"><br><div class="gmail_quote">2017-11-06 21:50 GMT+08:00 David Chisnall via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello the list,<br>
<br>
We have just moved things over to using the new multiple register size things, but this is not (yet?) supported by FastISel.  This isn’t an issue for us, because fast isel never worked for our extensions to base MIPS.  We’ve temporarily simply disabled fast isel entirely, but it would be nice if we could only include our .td file for the TableGen runs that are *not* generating the fast isel code.<br>
<br>
Looking at the tablegen docs, I can’t see any mechanism that allows me to conditionally include a file.  Does this exist in any form?<br>
<br>
David<br>
<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Wei-Ren Chen (陳韋任)<br>Homepage: <a href="https://people.cs.nctu.edu.tw/~chenwj" target="_blank">https://people.cs.nctu.edu.tw/~chenwj</a></div></div></div>
</div></div>