Is there something similar to #ifdef ... #endif in C supported in TableGen *.td files? Alex. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090213/6324555e/attachment.html>
On Feb 13, 2009, at 1:09 AM, Alex wrote:> > Is there something similar to #ifdef ... #endif in C supported in > TableGen *.td files?Not as such, what are you trying to do? -Chris
Chris Lattner-2 wrote:> > Not as such, what are you trying to do? >For example, sometimes I want some patterns to be matched by one machine instruction and sometimes two or more. I am doing the development for an experimental compiler and nothing is sure. I have source code in the backend looking for some specific opcode and they are conditional compiled (controllled by #ifdef..#endif). -- View this message in context: http://www.nabble.com/-ifdef-in-TableGen-tp21992728p22048862.html Sent from the LLVM - Dev mailing list archive at Nabble.com.