[llvm-dev] How to use Tablegen to generate <Target>LegalizerInfo

Chalice Paper via llvm-dev llvm-dev at lists.llvm.org
Thu May 27 21:38:28 PDT 2021


Hello llvm developers,
I'm new to llvm backend and want to use GlobalIsel in my toy target. When I try to implement TableGen backend for LegalizerInfo​, I realized I just reexport the method from the LegalizeRuleSet​ and it is not a good solution apparently, too many templates in td files.
So, is there any better practice about generating these data in TableGen?
Thanks

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


More information about the llvm-dev mailing list