[LLVMdev] template patterns w/ Tablegen

Villmow, Micah Micah.Villmow at amd.com
Wed May 16 15:47:55 PDT 2012


Is there any way to write patterns in Tablegen so that the same pattern can be used for a SDNode, Intrinsic and PatFrag nodes? Having to duplicate everything three times is messy and annoying to maintain.
Maybe template patterns?
Thanks,
Micah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120516/5bc26f5c/attachment.html>


More information about the llvm-dev mailing list